#C951EC#C951EC

#C951EC is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.5% C 0.237 H 317.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#C951EC
RGBrgb(201, 81, 236)
HSLhsl(286, 80%, 62%)
HSVhsv(286, 66%, 93%)
CMYKcmyk(14.8%, 65.7%, 0%, 7.5%)
CIE-LABlab(56.45, 69.07, -56.92)
CIE-LCHlch(56.45, 89.51, 320.51°)
OKLaboklab(65.46% 0.1755 -0.1596)
OKLCHoklch(65.46% 0.237 317.7)
XYZxyz(42.1680, 24.3603, 81.8214)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951EC #74EC51
analogous
#7C51EC #C951EC #EC51C1
triadic
#C951EC #ECC951 #51ECC9
tetradic
#C951EC #EC7C51 #74EC51 #51C1EC
square
#C951EC #EC7C51 #74EC51 #51C1EC
split-complementary
#C951EC #C1EC51 #51EC7C
monochromatic
#8C13AF #B81AE6 #C951EC #DA88F2 #EBBFF8

Accessibility & contrast

On white

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

On black

5.87
#C951EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951EC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951EC#FFFFFF#000000##000000
##C951EC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C80F1
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#C86E98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c951ec;
/* rgb */ color: rgb(201, 81, 236);
/* oklch */ color: oklch(65.5% 0.237 317.7);
Tailwind
colors: {
  custom: {
    50: '#dd8af3',
    500: '#c951ec',
    950: '#000000',
  },
}
SCSS
$custom: #c951ec;
$custom-light: #dd8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#c951ec",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 286.452,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65456,
    "c": 0.23719,
    "h": 317.7
  },
  "luminance": 0.24358
}

Semantic roles & 50–950 ramp

primary
#C951EC
secondary
#BDE9B0
accent
#DD0939
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #C951EC

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

Preview Lab → · Contrast checker → · Palette generator →

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