#C951E7#C951E7

#C951E7 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.2% C 0.233 H 319.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C951E7
RGBrgb(201, 81, 231)
HSLhsl(288, 76%, 61%)
HSVhsv(288, 65%, 91%)
CMYKcmyk(13%, 64.9%, 0%, 9.4%)
CIE-LABlab(56.16, 68.13, -54.58)
CIE-LCHlch(56.16, 87.30, 321.30°)
OKLaboklab(65.16% 0.1756 -0.1527)
OKLCHoklch(65.16% 0.233 319)
XYZxyz(41.4517, 24.0738, 78.0491)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951E7 #6FE751
analogous
#7E51E7 #C951E7 #E751BA
triadic
#C951E7 #E7C951 #51E7C9
tetradic
#C951E7 #E77E51 #6FE751 #51BAE7
square
#C951E7 #E77E51 #6FE751 #51BAE7
split-complementary
#C951E7 #BAE751 #51E77E
monochromatic
#8A17A7 #B61EDC #C951E7 #DA87EE #EABDF6

Accessibility & contrast

On white

3.61
#C951E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#C951E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951E7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951E7#FFFFFF#000000##000000
##C951E71.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7FEB
Deuteranopia (green-blind)
#5A8BE3
Tritanopia (blue-blind)
#C96C95
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c951e7;
/* rgb */ color: rgb(201, 81, 231);
/* oklch */ color: oklch(65.2% 0.233 319.0);
Tailwind
colors: {
  custom: {
    50: '#dd8aef',
    500: '#c951e7',
    950: '#000000',
  },
}
SCSS
$custom: #c951e7;
$custom-light: #dd8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#c951e7",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 288,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65159,
    "c": 0.23273,
    "h": 319
  },
  "luminance": 0.24072
}

Semantic roles & 50–950 ramp

primary
#C951E7
secondary
#B9E6AE
accent
#D80E36
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #C951E7

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

Preview Lab → · Contrast checker → · Palette generator →

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