#C952DF#C952DF

#C952DF is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.8% C 0.224 H 321.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#C952DF
RGBrgb(201, 82, 223)
HSLhsl(291, 69%, 60%)
HSVhsv(291, 63%, 87%)
CMYKcmyk(9.9%, 63.2%, 0%, 12.5%)
CIE-LABlab(55.87, 66.23, -50.54)
CIE-LCHlch(55.87, 83.31, 322.65°)
OKLaboklab(64.81% 0.1746 -0.1409)
OKLCHoklch(64.81% 0.224 321.1)
XYZxyz(40.4225, 23.7818, 72.2589)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C952DF #68DF52
analogous
#8252DF #C952DF #DF52AF
triadic
#C952DF #DFC952 #52DFC9
tetradic
#C952DF #DF8252 #68DF52 #52AFDF
square
#C952DF #DF8252 #68DF52 #52AFDF
split-complementary
#C952DF #AFDF52 #52DF82
monochromatic
#861D9A #B426CE #C952DF #D986E9 #E9B9F2

Accessibility & contrast

On white

3.65
#C952DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#C952DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C952DF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C952DF#FFFFFF#000000##000000
##C952DF1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7DE3
Deuteranopia (green-blind)
#618ADB
Tritanopia (blue-blind)
#CB6992
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c952df;
/* rgb */ color: rgb(201, 82, 223);
/* oklch */ color: oklch(64.8% 0.224 321.1);
Tailwind
colors: {
  custom: {
    50: '#dd8ae9',
    500: '#c952df',
    950: '#000000',
  },
}
SCSS
$custom: #c952df;
$custom-light: #dd8ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#c952df",
  "rgb": {
    "r": 201,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 290.638,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64805,
    "c": 0.22435,
    "h": 321.1
  },
  "luminance": 0.2378
}

Semantic roles & 50–950 ramp

primary
#C952DF
secondary
#B4E2AB
accent
#EC3C58
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C952DF

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

Preview Lab → · Contrast checker → · Palette generator →

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