Skip to content
violet · cool

#ac82cb

a light, soft violet · cool · closest name: Medium Purple

Token name suggestion: Meadow Thistle

RGB
172, 130, 203
HSL
275°, 41%, 65%
CMYK
15, 36, 0, 20
Luminance
0.2905

#ac82cb is a light soft violet, 275° on the wheel and 64/100 on the cool side. Put black text on it (6.81:1). As text it scores 3.08:1 on white — large text only. Nearest name is Medium Purple, nearest Tailwind family is purple.

hsl(275 41% 65%)rgb(172 130 203)Base step 400AA inkCool

At a glance

Every number on this page in one read: what #ac82cb is made of, how bright it looks, and which way it leans.

Hex
#ac82cb
Hue
275°
violet
Saturation
41%
soft
Lightness
65%
light
Brightness
80%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2905
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
6.81:1
Closest name
Medium Purple
ΔE2000 9.1
Chroma
43.5
LCH, 0–130ish
OKLCH L
0.674
perceptual lightness
Tailwind
purple
500 · ΔE 13.8
Web-safe
#9999CC
nearest of 216
Where it sits
Hue275° of 360°
Saturation41%
Lightness65%
Saturation × lightness field

Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #ac82cb.

Temperature
Warm ← → Cool64% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Luminance by channel
Red30%
Green55%
Blue15%

Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.

Every format

HEX#ac82cb
HEX (8-digit)#ac82cbff
RGBrgb(172, 130, 203)
RGBArgba(172, 130, 203, 1)
HSLhsl(275, 41%, 65%)
HSV / HSBhsv(275, 36%, 80%)
HWBhwb(275 51% 20%)
CMYKcmyk(15%, 36%, 0%, 20%)
LABlab(60.8 29.9 -31.7)
LCHlch(60.8 43.5 313.3)
OKLCHoklch(0.674 0.114 310.0)
XYZ (D65)xyz(35.77, 29.05, 60.21)
Decimal11305675
Display P3color(display-p3 0.675 0.510 0.796)
Web-safe#9999CC

Copy-ready code

every platformclick to select
/* CSS */
color: #ac82cb;
background-color: #ac82cb;
/* CSS custom property */
--brand: #ac82cb;
/* Tailwind (arbitrary) */
class="text-[#ac82cb] bg-[#ac82cb]"
/* SCSS */
$brand: #ac82cb;
/* SwiftUI */
Color(red: 0.675, green: 0.510, blue: 0.796)
/* UIKit */
UIColor(red: 0.675, green: 0.510, blue: 0.796, alpha: 1)
/* Android XML */
<color name="brand">#AC82CB</color>
/* Android Compose */
Color(0xFFAC82CB)
/* Flutter */
Color(0xFFAC82CB)
/* Python / OpenCV (BGR) */
(203, 130, 172)
/* Python / PIL (RGB) */
(172, 130, 203)
/* Java AWT */
new Color(172, 130, 203)
/* .NET */
Color.FromArgb(255, 172, 130, 203)
/* OpenGL / Unity (0–1) */
(0.6745f, 0.5098f, 0.7961f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{172,130,203}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #ac82cb 85%, white);
border-color: color-mix(in oklab, #ac82cb 40%, transparent);
/* theme-aware in one line */
color: light-dark(#44255A, #E2D4ED);
/* relative colour syntax */
--hover: hsl(from #ac82cb h s calc(l - 7));

Design tokens

The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.

css custom propertiesclick to select
:root {
  --brand-50: #F8F5FA;
  --brand-100: #F0EBF5;
  --brand-200: #E0D2EA;
  --brand-300: #CAB0DE;
  --brand-400: #ac82cb;
  --brand-500: #9661BD;
  --brand-600: #8248AD;
  --brand-700: #6C3C90;
  --brand-800: #573073;
  --brand-900: #412654;
  --brand-950: #281835;
  --brand: #ac82cb;
  --brand-ink: #000000;
  --brand-surface: #F8F4FA;
  --brand-border: #D9C5E7;
  --brand-hover: #9B69C0;
  --brand-pressed: #8A50B6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #1D1424;
    --brand-ink: #E2D4ED;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#F8F5FA',
        100: '#F0EBF5',
        200: '#E0D2EA',
        300: '#CAB0DE',
        400: '#ac82cb',
        500: '#9661BD',
        600: '#8248AD',
        700: '#6C3C90',
        800: '#573073',
        900: '#412654',
        950: '#281835',
        DEFAULT: '#ac82cb',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #F8F5FA,
  '100': #F0EBF5,
  '200': #E0D2EA,
  '300': #CAB0DE,
  '400': #ac82cb,
  '500': #9661BD,
  '600': #8248AD,
  '700': #6C3C90,
  '800': #573073,
  '900': #412654,
  '950': #281835,
);
$brand-base: #ac82cb;
$brand-ink: #000000;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#F8F5FA", "$type": "color" },
      "100": { "$value": "#F0EBF5", "$type": "color" },
      "200": { "$value": "#E0D2EA", "$type": "color" },
      "300": { "$value": "#CAB0DE", "$type": "color" },
      "400": { "$value": "#ac82cb", "$type": "color" },
      "500": { "$value": "#9661BD", "$type": "color" },
      "600": { "$value": "#8248AD", "$type": "color" },
      "700": { "$value": "#6C3C90", "$type": "color" },
      "800": { "$value": "#573073", "$type": "color" },
      "900": { "$value": "#412654", "$type": "color" },
      "950": { "$value": "#281835", "$type": "color" }
    },
    "brandInk": { "$value": "#000000", "$type": "color" }
  }
}

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ac82cb · 6.81:1
Use #000000AA at every size, AAA for large text only.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 3.08:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.81:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ac82cb as text scores 3.08:1 on white and 6.81:1 on black.
Best tinted ink on it, if plain black or white feels flat: #44255A at 4.11:1.

Make it accessible

A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.

The quick fox
#945EBC · 4.58:1
AA on white−10% L
#945EBC
The quick fox
#75419C · 7.02:1
AAA on white−22% L
#75419C
The quick fox
#ac82cb · 6.81:1
AA on blackalready passes
#ac82cb
The quick fox
#AE86CC · 7.08:1
AAA on black+1% L
#AE86CC

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #AC82CB is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).

Accessibility — WCAG contrast

Aa
#ac82cb on white: 3.08:1
AA ✗ fail · AA-large · AAA
Aa
#ac82cb on black: 6.81:1
AA ✓ pass · AA-large · AAA
Against the neutral ladder

Contrast is symmetric, so each row covers both directions: #ac82cb as text on that neutral, and that neutral as text on #ac82cb.

NeutralRatioBoth directions
White3.08:1AaAa
Slate 502.95:1AaAa
Slate 1002.82:1AaAa
Slate 2002.50:1AaAa
Slate 3002.08:1AaAa
Slate 4001.20:1AaAa
Slate 5001.54:1AaAa
Slate 6002.46:1AaAa
Slate 7003.36:1AaAa
Slate 8004.74:1AaAa
Slate 9005.79:1AaAa
Black6.81:1AaAa
Colour vision deficiency
true color
protanopia · #7491CE
deuteranopia · #7E94C9
tritanopia · #A88C9D

Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ac82cb is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F5FA
#F0EBF5
#E0D2EA
#CAB0DE
#ac82cb
#9661BD
#8248AD
#6C3C90
#573073
#412654
#281835
Base = 400Lightest = 50 · #F8F5FADarkest = 950 · #281835Text step on white = 600
Perceptual ramp — OKLCH

The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.

50100200300400500600700800900950
oklch tokensclick to select
:root {
  --brand-50: oklch(0.97 0.029 310.0);
  --brand-100: oklch(0.94 0.046 310.0);
  --brand-200: oklch(0.88 0.068 310.0);
  --brand-300: oklch(0.80 0.089 310.0);
  --brand-400: oklch(0.72 0.105 310.0);
  --brand-500: oklch(0.64 0.114 310.0);
  --brand-600: oklch(0.56 0.114 310.0);
  --brand-700: oklch(0.48 0.107 310.0);
  --brand-800: oklch(0.40 0.096 310.0);
  --brand-900: oklch(0.32 0.080 310.0);
  --brand-950: oklch(0.24 0.063 310.0);
}

Colors that work with #ac82cb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8F4FA
Tinted page background
Border#D9C5E7
Hairlines and dividers
Muted text#794B9B
Captions on the surface
Accent#769438
Second voice, not a rival
Dark variant#44255A
Hover, pressed, headers
Light variant#F3EDF8
Selected rows, tints
Dark surface#1D1424
Dark-mode background
Hover#9B69C0
One step down in lightness
Pressed#8A50B6
Two steps down
Disabled#E0D7E6
Chroma pulled out
Focus ring#B789D9
Offset from the fill so it reads
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

In real components

The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.

Buttons and states
Save changesHoverPressedDisabled
OutlineSubtleLinkFocused
Form field
you@company.com

Focus ring uses the light variant so the field still reads as one shape.

Send me product updates
Notice
Your export is ready

The file stays available for seven days. Download it before it expires.

NewBetaDraft
Data
Storage used68%
Acme LtdActive
NorthwindTrial
GlobexActive

How to use #ac82cb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate
Minimum size as text on white
24px / 18.66px bold
Safe as a fill behind white type
No — use #44255A
Safe as a 1px border on white
Yes

Meaning and mood

What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.

creativepremiummodernimaginative

Violet sits between the warmth of red and the calm of blue, so it reads as inventive without reading as risky. Current shorthand for software craft.

The muted chroma softens the association — it reads considered rather than loud, which suits long-form and data-heavy screens. The lightness keeps it airy and approachable.

Worth knowing

Deep violets swallow detail on screens with poor gamma; check it on a cheap laptop panel.

Reads as
  • FormalityMedium
  • EnergyMedium
  • Weight35/100
  • TemperatureCool
  • ApproachabilityBalanced

Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#A1CB82
Analogous left#8882CB
Analogous right#CB82C6
Split-complement 1#C6CB82
Split-complement 2#82CB88
Triadic 1#CBAC82
Triadic 2#82CBAC
Tetradic#CB8882
On the wheel
Base+30°−30°+120°+240°+180°275°

#ac82cb sits at 275°. Every dot is a harmony position and links to its own page in the table alongside.

RGB percentages

Red67.5%
Green51.0%
Blue79.6%
R · 0–255
172
0xac
G · 0–255
130
0x82
B · 0–255
203
0xcb

CMYK percentages

Cyan15.3%
Magenta36.0%
Yellow0.0%
Key (black)20.4%

Total ink coverage is 72%. Most commercial presses cap around 300% — above that, sheets stop drying properly.

Color previews

#ac82cb text on a black background

contrast 6.81:1

Card sample

#ac82cb text on a white background

contrast 3.08:1

Card sample

#ac82cb on grey

2.82:1

#ac82cb on its own surface

2.84:1

#ac82cb on its dark surface

5.78:1

CSS3 live lab

Text font color

The quick brown fox

color: #ac82cb;
Background color
Panel with #ac82cb background
background-color: #ac82cb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ac82cb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(172, 130, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 130, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac82cb;
background: linear-gradient(135deg, #ac82cb, #CB82B9);
Gradient text

Gradient headline

background: linear-gradient(90deg, #ac82cb, #CB82A7);
-webkit-background-clip: text;
color: transparent;
Focus ring
Focused control
outline: 2px solid #ac82cb;
outline-offset: 3px;
Underline & caret

Marked up text

text-decoration-color: #ac82cb;
caret-color: #ac82cb;
Left rule
Pull quote or callout
border-left: 4px solid #ac82cb;
Ring + tint
Selected chip
background: #F3EDF8;
box-shadow: inset 0 0 0 2px #ac82cb;
Conic badge
68%
background: conic-gradient(#ac82cb 68%, #e2e8f0 0);

Transparency

What each alpha value actually composites to. The top row is #ac82cb over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.

Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.

alpha in every syntaxclick to select
rgba(172, 130, 203, 0.5)
rgb(172 130 203 / 50%)
#ac82cb80
hsl(275 41% 65% / 50%)
color-mix(in srgb, #ac82cb 50%, transparent)
Alpha8-digit hexFlat on white
10%#ac82cb1a#F7F3FA
20%#ac82cb33#EEE6F5
40%#ac82cb66#DECDEA
60%#ac82cb99#CDB4E0
80%#ac82cbcc#BD9BD5

Gradients from #ac82cb

Six recipes, each built from this hex and shown with the exact CSS that produced it.

Elevation
Same hue, three lightnesses — safe anywhere
background: linear-gradient(135deg, #C9ADDD, #ac82cb 45%, #44255A);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #ac82cb, #C26CA6);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #ac82cb, #A1CB82);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #D7C3E6 0%, #ac82cb 45%, #44255A 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #F8F4FA, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #A6A6DA 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #D498CA 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #44255A 0%, transparent 65%), #ac82cb;

Monochromatic scale

Palettes built from #ac82cb

Shades — darker

Tints — lighter

Tones — desaturated

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ac82cb in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

On screens

Holds up across typical panel gamma. Still worth checking on an uncalibrated laptop, where mid-tones shift most.

In dark mode

Usable as-is on a dark surface at 6.81:1.

Explore nearby colors

Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.

#ac82cb, answered

What color is #ac82cb?

#ac82cb is a light soft violet, closest to Medium Purple (ΔE2000 9.1). It sits at 275° on the hue wheel with 41% saturation and 65% lightness, which reads as cool.

What is the RGB value of #ac82cb?

rgb(172, 130, 203) — 172 red, 130 green and 203 blue out of 255, or 67.5% / 51% / 79.6% by channel.

What is #ac82cb in HSL and HSV?

hsl(275, 41%, 65%) and hsv(275, 36%, 80%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #ac82cb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2905 and perceived brightness is 60%, so black text on it reaches 6.81:1.

Should I use black or white text on #ac82cb?

Black. It scores 6.81:1 against #ac82cb, versus 3.08:1 for white — AA at any size.

Is #ac82cb accessible on a white background?

#ac82cb on white scores 3.08:1, which only clears AA for large text — 18.66px bold or 24px regular and up. Darken it to #945EBC to reach 4.5:1, or #75419C for 7:1.

What is the complementary color of #ac82cb?

#A1CB82 sits directly opposite on the wheel. Softer options are the split-complements #C6CB82 and #82CB88, which give the same contrast with far less vibration.

What colors go well with #ac82cb?

For interface work: #F8F4FA as the surface, #D9C5E7 for borders, #794B9B for secondary text, #769438 as an accent and #44255A for hover and pressed states. For a palette, the analogous pair #8882CB and #CB82C6 stays calm, while #A1CB82 is the loudest partner.

What is #ac82cb in CMYK for printing?

cmyk(15%, 36%, 0%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ac82cb warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C782CB; nudged cooler, #9080CD.

Which Tailwind color is closest to #ac82cb?

The purple family — its 500 step is #a855f7, ΔE2000 13.8 away. That is a visible difference, so define #ac82cb as a custom token rather than reaching for the built-in.

How do I use #ac82cb in Tailwind CSS?

Inline it as an arbitrary value with bg-[#ac82cb] or text-[#ac82cb], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.

What is #ac82cb with 50% opacity?

rgba(172, 130, 203, 0.5), or #ac82cb80 in eight-digit hex. Over white that composites to #D6C1E5; over black, #564166.

Is #ac82cb a web-safe color?

No. The nearest web-safe colour is #9999CC, ΔE2000 10.5 away. The palette only matters for legacy displays and some email clients now.

What does the color #ac82cb mean?

As a violet, it reads creative, premium, modern. Violet sits between the warmth of red and the calm of blue, so it reads as inventive without reading as risky. Current shorthand for software craft. At this moderate chroma the association is present but not shouted.

What gradient works with #ac82cb?

The safest is same-hue elevation: linear-gradient(135deg, #C9ADDD, #ac82cb 45%, #44255A). For more colour, a short hue run to #C26CA6 keeps it rich without turning muddy.

Work with #ac82cb in the Color Lab

Every tool opens with this colour already loaded.

Every value on this page is computed from #ac82cb at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.