#C952EA#C952EA

#C952EA is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.234 H 318.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#C952EA
RGBrgb(201, 82, 234)
HSLhsl(287, 78%, 62%)
HSVhsv(287, 65%, 92%)
CMYKcmyk(14.1%, 65%, 0%, 8.2%)
CIE-LABlab(56.48, 68.28, -55.75)
CIE-LCHlch(56.48, 88.15, 320.77°)
OKLaboklab(65.44% 0.1745 -0.1561)
OKLCHoklch(65.44% 0.234 318.2)
XYZxyz(41.9539, 24.3944, 80.3246)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C952EA #73EA52
analogous
#7D52EA #C952EA #EA52BF
triadic
#C952EA #EAC952 #52EAC9
tetradic
#C952EA #EA7D52 #73EA52 #52BFEA
square
#C952EA #EA7D52 #73EA52 #52BFEA
split-complementary
#C952EA #BFEA52 #52EA7D
monochromatic
#8C15AD #B81CE3 #C952EA #DA89F1 #EBBFF7

Accessibility & contrast

On white

3.57
#C952EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#C952EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C952EA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C952EA#FFFFFF#000000##000000
##C952EA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1880EF
Deuteranopia (green-blind)
#598BE6
Tritanopia (blue-blind)
#C86D97
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c952ea;
/* rgb */ color: rgb(201, 82, 234);
/* oklch */ color: oklch(65.4% 0.234 318.2);
Tailwind
colors: {
  custom: {
    50: '#dd8bf1',
    500: '#c952ea',
    950: '#000000',
  },
}
SCSS
$custom: #c952ea;
$custom-light: #dd8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c952ea",
  "rgb": {
    "r": 201,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 286.974,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65443,
    "c": 0.23413,
    "h": 318.2
  },
  "luminance": 0.24393
}

Semantic roles & 50–950 ramp

primary
#C952EA
secondary
#BCE8B0
accent
#DB0B38
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #C952EA

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

Preview Lab → · Contrast checker → · Palette generator →

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