#C952DD#C952DD

#C952DD is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.223 H 321.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#C952DD
RGBrgb(201, 82, 221)
HSLhsl(291, 67%, 59%)
HSVhsv(291, 63%, 87%)
CMYKcmyk(9%, 62.9%, 0%, 13.3%)
CIE-LABlab(55.76, 65.86, -49.58)
CIE-LCHlch(55.76, 82.44, 323.03°)
OKLaboklab(64.69% 0.1745 -0.1381)
OKLCHoklch(64.69% 0.223 321.6)
XYZxyz(40.1544, 23.6746, 70.8472)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C952DD #66DD52
analogous
#8452DD #C952DD #DD52AC
triadic
#C952DD #DDC952 #52DDC9
tetradic
#C952DD #DD8452 #66DD52 #52ACDD
square
#C952DD #DD8452 #66DD52 #52ACDD
split-complementary
#C952DD #ACDD52 #52DD84
monochromatic
#851E97 #B328CA #C952DD #D985E7 #E9B8F1

Accessibility & contrast

On white

3.66
#C952DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#C952DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C952DD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C952DD#FFFFFF#000000##000000
##C952DD1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#307DE1
Deuteranopia (green-blind)
#628AD9
Tritanopia (blue-blind)
#CB6890
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c952dd;
/* rgb */ color: rgb(201, 82, 221);
/* oklch */ color: oklch(64.7% 0.223 321.6);
Tailwind
colors: {
  custom: {
    50: '#dd8ae8',
    500: '#c952dd',
    950: '#000000',
  },
}
SCSS
$custom: #c952dd;
$custom-light: #dd8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#c952dd",
  "rgb": {
    "r": 201,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 291.367,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64692,
    "c": 0.22258,
    "h": 321.6
  },
  "luminance": 0.23673
}

Semantic roles & 50–950 ramp

primary
#C952DD
secondary
#B2E0AA
accent
#EA3E57
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C952DD

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

Preview Lab → · Contrast checker → · Palette generator →

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