#C851E6#C851E6

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

Color values

HEX#C851E6
RGBrgb(200, 81, 230)
HSLhsl(288, 75%, 61%)
HSVhsv(288, 65%, 90%)
CMYKcmyk(13%, 64.8%, 0%, 9.8%)
CIE-LABlab(55.97, 67.72, -54.33)
CIE-LCHlch(55.97, 86.82, 321.26°)
OKLaboklab(64.97% 0.1745 -0.152)
OKLCHoklch(64.97% 0.231 318.9)
XYZxyz(41.0429, 23.8792, 77.2948)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851E6 #6FE651
analogous
#7D51E6 #C851E6 #E651BA
triadic
#C851E6 #E6C851 #51E6C8
tetradic
#C851E6 #E67D51 #6FE651 #51BAE6
square
#C851E6 #E67D51 #6FE651 #51BAE6
split-complementary
#C851E6 #BAE651 #51E67D
monochromatic
#8818A5 #B51FDA #C851E6 #D987EE #EABCF5

Accessibility & contrast

On white

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

On black

5.78
#C851E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851E6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851E6#FFFFFF#000000##000000
##C851E61.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7EEA
Deuteranopia (green-blind)
#5A8AE2
Tritanopia (blue-blind)
#C86B95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c851e6;
/* rgb */ color: rgb(200, 81, 230);
/* oklch */ color: oklch(65.0% 0.231 318.9);
Tailwind
colors: {
  custom: {
    50: '#dc8aee',
    500: '#c851e6',
    950: '#000000',
  },
}
SCSS
$custom: #c851e6;
$custom-light: #dc8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#c851e6",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 287.919,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64972,
    "c": 0.23142,
    "h": 318.9
  },
  "luminance": 0.23877
}

Semantic roles & 50–950 ramp

primary
#C851E6
secondary
#B9E5AD
accent
#D70E37
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C851E6

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

Preview Lab → · Contrast checker → · Palette generator →

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