#C851E1#C851E1

#C851E1 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.7% C 0.227 H 320.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#C851E1
RGBrgb(200, 81, 225)
HSLhsl(290, 71%, 60%)
HSVhsv(290, 64%, 88%)
CMYKcmyk(11.1%, 64%, 0%, 11.8%)
CIE-LABlab(55.69, 66.79, -51.96)
CIE-LCHlch(55.69, 84.62, 322.12°)
OKLaboklab(64.68% 0.1745 -0.1451)
OKLCHoklch(64.68% 0.227 320.3)
XYZxyz(40.3508, 23.6024, 73.6498)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851E1 #6AE151
analogous
#8051E1 #C851E1 #E151B2
triadic
#C851E1 #E1C851 #51E1C8
tetradic
#C851E1 #E18051 #6AE151 #51B2E1
square
#C851E1 #E18051 #6AE151 #51B2E1
split-complementary
#C851E1 #B2E151 #51E180
monochromatic
#861B9D #B324D1 #C851E1 #D885EA #E9B9F3

Accessibility & contrast

On white

3.67
#C851E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#C851E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851E1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851E1#FFFFFF#000000##000000
##C851E11.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#277DE5
Deuteranopia (green-blind)
#5E8ADD
Tritanopia (blue-blind)
#C96992
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c851e1;
/* rgb */ color: rgb(200, 81, 225);
/* oklch */ color: oklch(64.7% 0.227 320.3);
Tailwind
colors: {
  custom: {
    50: '#dc8aeb',
    500: '#c851e1',
    950: '#000000',
  },
}
SCSS
$custom: #c851e1;
$custom-light: #dc8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#c851e1",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 289.583,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.64681,
    "c": 0.22698,
    "h": 320.3
  },
  "luminance": 0.236
}

Semantic roles & 50–950 ramp

primary
#C851E1
secondary
#B5E3AB
accent
#ED3A5A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C851E1

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

Preview Lab → · Contrast checker → · Palette generator →

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