#C951EB#C951EB

#C951EB is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.4% C 0.236 H 318.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C951EB
RGBrgb(201, 81, 235)
HSLhsl(287, 79%, 62%)
HSVhsv(287, 66%, 92%)
CMYKcmyk(14.5%, 65.5%, 0%, 7.8%)
CIE-LABlab(56.39, 68.89, -56.45)
CIE-LCHlch(56.39, 89.06, 320.66°)
OKLaboklab(65.4% 0.1755 -0.1582)
OKLCHoklch(65.4% 0.236 318)
XYZxyz(42.0231, 24.3023, 81.0584)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951EB #73EB51
analogous
#7C51EB #C951EB #EB51C0
triadic
#C951EB #EBC951 #51EBC9
tetradic
#C951EB #EB7C51 #73EB51 #51C0EB
square
#C951EB #EB7C51 #73EB51 #51C0EB
split-complementary
#C951EB #C0EB51 #51EB7C
monochromatic
#8C14AE #B81AE5 #C951EB #DA88F1 #EBBFF8

Accessibility & contrast

On white

3.58
#C951EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#C951EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951EB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951EB#FFFFFF#000000##000000
##C951EB1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#107FF0
Deuteranopia (green-blind)
#578BE7
Tritanopia (blue-blind)
#C86D98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c951eb;
/* rgb */ color: rgb(201, 81, 235);
/* oklch */ color: oklch(65.4% 0.236 318.0);
Tailwind
colors: {
  custom: {
    50: '#dd8af2',
    500: '#c951eb',
    950: '#000000',
  },
}
SCSS
$custom: #c951eb;
$custom-light: #dd8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#c951eb",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 286.753,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65396,
    "c": 0.23629,
    "h": 318
  },
  "luminance": 0.24301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C951EB

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

Preview Lab → · Contrast checker → · Palette generator →

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