#C951DC#C951DC

#C951DC is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.5% C 0.223 H 322.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#C951DC
RGBrgb(201, 81, 220)
HSLhsl(292, 67%, 59%)
HSVhsv(292, 63%, 86%)
CMYKcmyk(8.6%, 63.2%, 0%, 13.7%)
CIE-LABlab(55.55, 66.10, -49.34)
CIE-LCHlch(55.55, 82.49, 323.26°)
OKLaboklab(64.53% 0.1757 -0.1374)
OKLCHoklch(64.53% 0.223 322)
XYZxyz(39.9467, 23.4717, 70.1226)
Luminance0.2347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951DC #64DC51
analogous
#8451DC #C951DC #DC51A9
triadic
#C951DC #DCC951 #51DCC9
tetradic
#C951DC #DC8451 #64DC51 #51A9DC
square
#C951DC #DC8451 #64DC51 #51A9DC
split-complementary
#C951DC #A9DC51 #51DC84
monochromatic
#841E95 #B228C8 #C951DC #D984E6 #E9B7F0

Accessibility & contrast

On white

3.69
#C951DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#C951DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951DC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951DC#FFFFFF#000000##000000
##C951DC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#628AD8
Tritanopia (blue-blind)
#CB6790
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c951dc;
/* rgb */ color: rgb(201, 81, 220);
/* oklch */ color: oklch(64.5% 0.223 322.0);
Tailwind
colors: {
  custom: {
    50: '#dd8ae7',
    500: '#c951dc',
    950: '#000000',
  },
}
SCSS
$custom: #c951dc;
$custom-light: #dd8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#c951dc",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 291.799,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64526,
    "c": 0.22303,
    "h": 322
  },
  "luminance": 0.2347
}

Semantic roles & 50–950 ramp

primary
#C951DC
secondary
#B1E0A9
accent
#E93E56
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C951DC

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

Preview Lab → · Contrast checker → · Palette generator →

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