#A952CB#A952CB

#A952CB is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.6% C 0.192 H 315.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A952CB
RGBrgb(169, 82, 203)
HSLhsl(283, 54%, 56%)
HSVhsv(283, 60%, 80%)
CMYKcmyk(16.7%, 59.6%, 0%, 20.4%)
CIE-LABlab(50.43, 54.68, -48.08)
CIE-LCHlch(50.43, 72.81, 318.68°)
OKLaboklab(59.61% 0.1364 -0.1346)
OKLCHoklch(59.61% 0.192 315.4)
XYZxyz(30.1573, 18.7824, 58.5251)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A952CB #74CB52
analogous
#6C52CB #A952CB #CB52B1
triadic
#A952CB #CBA952 #52CBA9
tetradic
#A952CB #CB6C52 #74CB52 #52B1CB
square
#A952CB #CB6C52 #74CB52 #52B1CB
split-complementary
#A952CB #B1CB52 #52CB6C
monochromatic
#64267D #8A34AC #A952CB #C081D9 #D8B0E7

Accessibility & contrast

On white

4.42
#A952CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A952CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A952CB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A952CB#FFFFFF#000000##000000
##A952CB1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E73CF
Deuteranopia (green-blind)
#517AC8
Tritanopia (blue-blind)
#A76787
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a952cb;
/* rgb */ color: rgb(169, 82, 203);
/* oklch */ color: oklch(59.6% 0.192 315.4);
Tailwind
colors: {
  custom: {
    50: '#c687db',
    500: '#a952cb',
    950: '#000000',
  },
}
SCSS
$custom: #a952cb;
$custom-light: #c687db;
$custom-dark: #000000;
JSON
{
  "hex": "#a952cb",
  "rgb": {
    "r": 169,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 283.14,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.19161,
    "h": 315.4
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#A952CB
secondary
#B1D5A3
accent
#DD4B74
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A952CB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A952CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva