#C851E7#C851E7

#C851E7 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.232 H 318.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#C851E7
RGBrgb(200, 81, 231)
HSLhsl(288, 76%, 61%)
HSVhsv(288, 65%, 91%)
CMYKcmyk(13.4%, 64.9%, 0%, 9.4%)
CIE-LABlab(56.02, 67.91, -54.80)
CIE-LCHlch(56.02, 87.26, 321.10°)
OKLaboklab(65.03% 0.1745 -0.1534)
OKLCHoklch(65.03% 0.232 318.7)
XYZxyz(41.1837, 23.9356, 78.0365)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851E7 #70E751
analogous
#7D51E7 #C851E7 #E751BB
triadic
#C851E7 #E7C851 #51E7C8
tetradic
#C851E7 #E77D51 #70E751 #51BBE7
square
#C851E7 #E77D51 #70E751 #51BBE7
split-complementary
#C851E7 #BBE751 #51E77D
monochromatic
#8917A7 #B51EDC #C851E7 #D987EE #EABDF6

Accessibility & contrast

On white

3.63
#C851E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#C851E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851E7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851E7#FFFFFF#000000##000000
##C851E71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7EEB
Deuteranopia (green-blind)
#598AE3
Tritanopia (blue-blind)
#C86C95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c851e7;
/* rgb */ color: rgb(200, 81, 231);
/* oklch */ color: oklch(65.0% 0.232 318.7);
Tailwind
colors: {
  custom: {
    50: '#dc8aef',
    500: '#c851e7',
    950: '#000000',
  },
}
SCSS
$custom: #c851e7;
$custom-light: #dc8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#c851e7",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 287.6,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65031,
    "c": 0.23231,
    "h": 318.7
  },
  "luminance": 0.23934
}

Semantic roles & 50–950 ramp

primary
#C851E7
secondary
#B9E6AE
accent
#D80E37
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C851E7

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

Preview Lab → · Contrast checker → · Palette generator →

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