#C951E9#C951E9

#C951E9 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.3% C 0.235 H 318.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#C951E9
RGBrgb(201, 81, 233)
HSLhsl(287, 78%, 62%)
HSVhsv(287, 65%, 91%)
CMYKcmyk(13.7%, 65.2%, 0%, 8.6%)
CIE-LABlab(56.27, 68.51, -55.52)
CIE-LCHlch(56.27, 88.18, 320.98°)
OKLaboklab(65.28% 0.1756 -0.1554)
OKLCHoklch(65.28% 0.235 318.5)
XYZxyz(41.7358, 24.1874, 79.5452)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951E9 #71E951
analogous
#7D51E9 #C951E9 #E951BD
triadic
#C951E9 #E9C951 #51E9C9
tetradic
#C951E9 #E97D51 #71E951 #51BDE9
square
#C951E9 #E97D51 #71E951 #51BDE9
split-complementary
#C951E9 #BDE951 #51E97D
monochromatic
#8B16AA #B71CE0 #C951E9 #DA87F0 #EBBEF7

Accessibility & contrast

On white

3.60
#C951E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#C951E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951E9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951E9#FFFFFF#000000##000000
##C951E91.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#177FEE
Deuteranopia (green-blind)
#598BE5
Tritanopia (blue-blind)
#C96C97
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c951e9;
/* rgb */ color: rgb(201, 81, 233);
/* oklch */ color: oklch(65.3% 0.235 318.5);
Tailwind
colors: {
  custom: {
    50: '#dd8af1',
    500: '#c951e9',
    950: '#000000',
  },
}
SCSS
$custom: #c951e9;
$custom-light: #dd8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#c951e9",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 287.368,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65277,
    "c": 0.23451,
    "h": 318.5
  },
  "luminance": 0.24186
}

Semantic roles & 50–950 ramp

primary
#C951E9
secondary
#BBE7AF
accent
#DA0C37
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #C951E9

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

Preview Lab → · Contrast checker → · Palette generator →

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