#C851EA#C851EA

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

Color values

HEX#C851EA
RGBrgb(200, 81, 234)
HSLhsl(287, 78%, 62%)
HSVhsv(287, 65%, 92%)
CMYKcmyk(14.5%, 65.4%, 0%, 8.2%)
CIE-LABlab(56.19, 68.48, -56.21)
CIE-LCHlch(56.19, 88.59, 320.62°)
OKLaboklab(65.21% 0.1744 -0.1575)
OKLCHoklch(65.21% 0.235 317.9)
XYZxyz(41.6110, 24.1065, 80.2871)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851EA #73EA51
analogous
#7C51EA #C851EA #EA51BF
triadic
#C851EA #EAC851 #51EAC8
tetradic
#C851EA #EA7C51 #73EA51 #51BFEA
square
#C851EA #EA7C51 #73EA51 #51BFEA
split-complementary
#C851EA #BFEA51 #51EA7C
monochromatic
#8A15AC #B61BE2 #C851EA #D988F1 #EBBEF7

Accessibility & contrast

On white

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

On black

5.82
#C851EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851EA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851EA#FFFFFF#000000##000000
##C851EA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#127FEF
Deuteranopia (green-blind)
#578AE6
Tritanopia (blue-blind)
#C76D97
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c851ea;
/* rgb */ color: rgb(200, 81, 234);
/* oklch */ color: oklch(65.2% 0.235 317.9);
Tailwind
colors: {
  custom: {
    50: '#dc8af1',
    500: '#c851ea',
    950: '#000000',
  },
}
SCSS
$custom: #c851ea;
$custom-light: #dc8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#c851ea",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 286.667,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65209,
    "c": 0.23499,
    "h": 317.9
  },
  "luminance": 0.24105
}

Semantic roles & 50–950 ramp

primary
#C851EA
secondary
#BCE8AF
accent
#DB0B39
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#150C17
muted
#847D85

Preview Lab

Preview with #C851EA

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

Preview Lab → · Contrast checker → · Palette generator →

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