#C851DC#C851DC

#C851DC is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.4% C 0.223 H 321.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#C851DC
RGBrgb(200, 81, 220)
HSLhsl(291, 67%, 59%)
HSVhsv(291, 63%, 86%)
CMYKcmyk(9.1%, 63.2%, 0%, 13.7%)
CIE-LABlab(55.41, 65.87, -49.58)
CIE-LCHlch(55.41, 82.44, 323.03°)
OKLaboklab(64.4% 0.1745 -0.1381)
OKLCHoklch(64.4% 0.223 321.6)
XYZxyz(39.6787, 23.3336, 70.1101)
Luminance0.2333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851DC #65DC51
analogous
#8351DC #C851DC #DC51AB
triadic
#C851DC #DCC851 #51DCC8
tetradic
#C851DC #DC8351 #65DC51 #51ABDC
square
#C851DC #DC8351 #65DC51 #51ABDC
split-complementary
#C851DC #ABDC51 #51DC83
monochromatic
#841E95 #B128C8 #C851DC #D884E6 #E8B7F0

Accessibility & contrast

On white

3.71
#C851DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#C851DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851DC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851DC#FFFFFF#000000##000000
##C851DC1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#6189D8
Tritanopia (blue-blind)
#CA6790
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c851dc;
/* rgb */ color: rgb(200, 81, 220);
/* oklch */ color: oklch(64.4% 0.223 321.6);
Tailwind
colors: {
  custom: {
    50: '#dc8ae7',
    500: '#c851dc',
    950: '#000000',
  },
}
SCSS
$custom: #c851dc;
$custom-light: #dc8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#c851dc",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 291.367,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64395,
    "c": 0.22257,
    "h": 321.6
  },
  "luminance": 0.23332
}

Semantic roles & 50–950 ramp

primary
#C851DC
secondary
#B1E0A9
accent
#E93E57
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C851DC

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

Preview Lab → · Contrast checker → · Palette generator →

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