#C951E1#C951E1

#C951E1 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.8% C 0.227 H 320.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#C951E1
RGBrgb(201, 81, 225)
HSLhsl(290, 71%, 60%)
HSVhsv(290, 64%, 88%)
CMYKcmyk(10.7%, 64%, 0%, 11.8%)
CIE-LABlab(55.83, 67.02, -51.73)
CIE-LCHlch(55.83, 84.66, 322.33°)
OKLaboklab(64.81% 0.1757 -0.1444)
OKLCHoklch(64.81% 0.227 320.6)
XYZxyz(40.6188, 23.7406, 73.6624)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951E1 #69E151
analogous
#8151E1 #C951E1 #E151B1
triadic
#C951E1 #E1C951 #51E1C9
tetradic
#C951E1 #E18151 #69E151 #51B1E1
square
#C951E1 #E18151 #69E151 #51B1E1
split-complementary
#C951E1 #B1E151 #51E181
monochromatic
#871B9D #B424D1 #C951E1 #D985EA #E9B9F3

Accessibility & contrast

On white

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

On black

5.75
#C951E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951E1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951E1#FFFFFF#000000##000000
##C951E11.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#287DE5
Deuteranopia (green-blind)
#5F8ADD
Tritanopia (blue-blind)
#CA6992
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c951e1;
/* rgb */ color: rgb(201, 81, 225);
/* oklch */ color: oklch(64.8% 0.227 320.6);
Tailwind
colors: {
  custom: {
    50: '#dd8aeb',
    500: '#c951e1',
    950: '#000000',
  },
}
SCSS
$custom: #c951e1;
$custom-light: #dd8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#c951e1",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 290,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.6481,
    "c": 0.22742,
    "h": 320.6
  },
  "luminance": 0.23739
}

Semantic roles & 50–950 ramp

primary
#C951E1
secondary
#B4E3AB
accent
#ED3A58
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#150C16
muted
#847D84

Preview Lab

Preview with #C951E1

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

Preview Lab → · Contrast checker → · Palette generator →

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