#C952ED#C952ED

#C952ED is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.6% C 0.237 H 317.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#C952ED
RGBrgb(201, 82, 237)
HSLhsl(286, 81%, 63%)
HSVhsv(286, 65%, 93%)
CMYKcmyk(15.2%, 65.4%, 0%, 7.1%)
CIE-LABlab(56.65, 68.85, -57.15)
CIE-LCHlch(56.65, 89.48, 320.30°)
OKLaboklab(65.62% 0.1744 -0.1602)
OKLCHoklch(65.62% 0.237 317.4)
XYZxyz(42.3885, 24.5683, 82.6137)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C952ED #76ED52
analogous
#7C52ED #C952ED #ED52C3
triadic
#C952ED #EDC952 #52EDC9
tetradic
#C952ED #ED7C52 #76ED52 #52C3ED
square
#C952ED #ED7C52 #76ED52 #52C3ED
split-complementary
#C952ED #C3ED52 #52ED7C
monochromatic
#8D13B2 #B81BE7 #C952ED #DA89F3 #ECC1F9

Accessibility & contrast

On white

3.55
#C952ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#C952ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C952ED
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C952ED#FFFFFF#000000##000000
##C952ED1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E80F2
Deuteranopia (green-blind)
#568CE9
Tritanopia (blue-blind)
#C86F99
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c952ed;
/* rgb */ color: rgb(201, 82, 237);
/* oklch */ color: oklch(65.6% 0.237 317.4);
Tailwind
colors: {
  custom: {
    50: '#dd8bf3',
    500: '#c952ed',
    950: '#000000',
  },
}
SCSS
$custom: #c952ed;
$custom-light: #dd8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c952ed",
  "rgb": {
    "r": 201,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 286.065,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65622,
    "c": 0.23683,
    "h": 317.4
  },
  "luminance": 0.24567
}

Semantic roles & 50–950 ramp

primary
#C952ED
secondary
#BEEAB1
accent
#DE083A
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #C952ED

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

Preview Lab → · Contrast checker → · Palette generator →

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