#C951E3#C951E3

#C951E3 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.9% C 0.229 H 320.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#C951E3
RGBrgb(201, 81, 227)
HSLhsl(289, 72%, 60%)
HSVhsv(289, 64%, 89%)
CMYKcmyk(11.5%, 64.3%, 0%, 11%)
CIE-LABlab(55.94, 67.39, -52.68)
CIE-LCHlch(55.94, 85.54, 321.98°)
OKLaboklab(64.93% 0.1757 -0.1472)
OKLCHoklch(64.93% 0.229 320)
XYZxyz(40.8932, 23.8504, 75.1077)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951E3 #6BE351
analogous
#8051E3 #C951E3 #E351B4
triadic
#C951E3 #E3C951 #51E3C9
tetradic
#C951E3 #E38051 #6BE351 #51B4E3
square
#C951E3 #E38051 #6BE351 #51B4E3
split-complementary
#C951E3 #B4E351 #51E380
monochromatic
#881AA0 #B522D5 #C951E3 #D986EB #EABAF4

Accessibility & contrast

On white

3.64
#C951E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#C951E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951E3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951E3#FFFFFF#000000##000000
##C951E31.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#257EE7
Deuteranopia (green-blind)
#5D8ADF
Tritanopia (blue-blind)
#CA6A93
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c951e3;
/* rgb */ color: rgb(201, 81, 227);
/* oklch */ color: oklch(64.9% 0.229 320.0);
Tailwind
colors: {
  custom: {
    50: '#dd8aec',
    500: '#c951e3',
    950: '#000000',
  },
}
SCSS
$custom: #c951e3;
$custom-light: #dd8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#c951e3",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 289.315,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64925,
    "c": 0.22918,
    "h": 320
  },
  "luminance": 0.23848
}

Semantic roles & 50–950 ramp

primary
#C951E3
secondary
#B6E4AC
accent
#D41134
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#150C16
muted
#847D84

Preview Lab

Preview with #C951E3

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

Preview Lab → · Contrast checker → · Palette generator →

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