#C851EB#C851EB

#C851EB is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.3% C 0.236 H 317.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#C851EB
RGBrgb(200, 81, 235)
HSLhsl(286, 79%, 62%)
HSVhsv(286, 66%, 92%)
CMYKcmyk(14.9%, 65.5%, 0%, 7.8%)
CIE-LABlab(56.25, 68.67, -56.68)
CIE-LCHlch(56.25, 89.04, 320.46°)
OKLaboklab(65.27% 0.1744 -0.1589)
OKLCHoklch(65.27% 0.236 317.7)
XYZxyz(41.7551, 24.1641, 81.0458)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851EB #74EB51
analogous
#7B51EB #C851EB #EB51C1
triadic
#C851EB #EBC851 #51EBC8
tetradic
#C851EB #EB7B51 #74EB51 #51C1EB
square
#C851EB #EB7B51 #74EB51 #51C1EB
split-complementary
#C851EB #C1EB51 #51EB7B
monochromatic
#8B14AE #B71AE5 #C851EB #D988F1 #EBBFF8

Accessibility & contrast

On white

3.60
#C851EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#C851EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851EB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851EB#FFFFFF#000000##000000
##C851EB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7FF0
Deuteranopia (green-blind)
#568BE7
Tritanopia (blue-blind)
#C76D98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c851eb;
/* rgb */ color: rgb(200, 81, 235);
/* oklch */ color: oklch(65.3% 0.236 317.7);
Tailwind
colors: {
  custom: {
    50: '#dc8af2',
    500: '#c851eb',
    950: '#000000',
  },
}
SCSS
$custom: #c851eb;
$custom-light: #dc8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#c851eb",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 286.364,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65269,
    "c": 0.23589,
    "h": 317.7
  },
  "luminance": 0.24162
}

Semantic roles & 50–950 ramp

primary
#C851EB
secondary
#BCE8B0
accent
#DC0A3A
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#150C17
muted
#847D85

Preview Lab

Preview with #C851EB

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

Preview Lab → · Contrast checker → · Palette generator →

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