#C851E8#C851E8

#C851E8 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.1% C 0.233 H 318.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#C851E8
RGBrgb(200, 81, 232)
HSLhsl(287, 77%, 61%)
HSVhsv(287, 65%, 91%)
CMYKcmyk(13.8%, 65.1%, 0%, 9%)
CIE-LABlab(56.08, 68.10, -55.27)
CIE-LCHlch(56.08, 87.71, 320.93°)
OKLaboklab(65.09% 0.1745 -0.1548)
OKLCHoklch(65.09% 0.233 318.4)
XYZxyz(41.3254, 23.9922, 78.7824)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851E8 #71E851
analogous
#7D51E8 #C851E8 #E851BD
triadic
#C851E8 #E8C851 #51E8C8
tetradic
#C851E8 #E87D51 #71E851 #51BDE8
square
#C851E8 #E87D51 #71E851 #51BDE8
split-complementary
#C851E8 #BDE851 #51E87D
monochromatic
#8916A8 #B61DDE #C851E8 #D987EF #EABDF6

Accessibility & contrast

On white

3.62
#C851E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#C851E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851E8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851E8#FFFFFF#000000##000000
##C851E81.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#187FEC
Deuteranopia (green-blind)
#598AE4
Tritanopia (blue-blind)
#C86C96
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c851e8;
/* rgb */ color: rgb(200, 81, 232);
/* oklch */ color: oklch(65.1% 0.233 318.4);
Tailwind
colors: {
  custom: {
    50: '#dc8af0',
    500: '#c851e8',
    950: '#000000',
  },
}
SCSS
$custom: #c851e8;
$custom-light: #dc8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#c851e8",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 287.285,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6509,
    "c": 0.23321,
    "h": 318.4
  },
  "luminance": 0.2399
}

Semantic roles & 50–950 ramp

primary
#C851E8
secondary
#BAE7AE
accent
#D90D38
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#150C17
muted
#847D85

Preview Lab

Preview with #C851E8

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

Preview Lab → · Contrast checker → · Palette generator →

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