#C851DB#C851DB

#C851DB is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.3% C 0.222 H 321.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#C851DB
RGBrgb(200, 81, 219)
HSLhsl(292, 66%, 59%)
HSVhsv(292, 63%, 86%)
CMYKcmyk(8.7%, 63%, 0%, 14.1%)
CIE-LABlab(55.36, 65.69, -49.10)
CIE-LCHlch(55.36, 82.01, 323.22°)
OKLaboklab(64.34% 0.1745 -0.1367)
OKLCHoklch(64.34% 0.222 321.9)
XYZxyz(39.5467, 23.2807, 69.4147)
Luminance0.2328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851DB #64DB51
analogous
#8351DB #C851DB #DB51A9
triadic
#C851DB #DBC851 #51DBC8
tetradic
#C851DB #DB8351 #64DB51 #51A9DB
square
#C851DB #DB8351 #64DB51 #51A9DB
split-complementary
#C851DB #A9DB51 #51DB83
monochromatic
#831E93 #B029C6 #C851DB #D884E5 #E8B6F0

Accessibility & contrast

On white

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

On black

5.66
#C851DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851DB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851DB#FFFFFF#000000##000000
##C851DB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#6289D7
Tritanopia (blue-blind)
#CA678F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c851db;
/* rgb */ color: rgb(200, 81, 219);
/* oklch */ color: oklch(64.3% 0.222 321.9);
Tailwind
colors: {
  custom: {
    50: '#dc8ae7',
    500: '#c851db',
    950: '#000000',
  },
}
SCSS
$custom: #c851db;
$custom-light: #dc8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#c851db",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 291.739,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64339,
    "c": 0.22169,
    "h": 321.9
  },
  "luminance": 0.23279
}

Semantic roles & 50–950 ramp

primary
#C851DB
secondary
#B0DFA9
accent
#E93F56
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C851DB

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

Preview Lab → · Contrast checker → · Palette generator →

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