#C851D7#C851D7

#C851D7 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.1% C 0.218 H 323.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#C851D7
RGBrgb(200, 81, 215)
HSLhsl(293, 63%, 58%)
HSVhsv(293, 62%, 84%)
CMYKcmyk(7%, 62.3%, 0%, 15.7%)
CIE-LABlab(55.15, 64.96, -47.17)
CIE-LCHlch(55.15, 80.28, 324.02°)
OKLaboklab(64.12% 0.1744 -0.1311)
OKLCHoklch(64.12% 0.218 323.1)
XYZxyz(39.0264, 23.0726, 66.6746)
Luminance0.2307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851D7 #60D751
analogous
#8551D7 #C851D7 #D751A3
triadic
#C851D7 #D7C851 #51D7C8
tetradic
#C851D7 #D78551 #60D751 #51A3D7
square
#C851D7 #D78551 #60D751 #51A3D7
split-complementary
#C851D7 #A3D751 #51D785
monochromatic
#81208D #AE2CBF #C851D7 #D883E2 #E7B5EE

Accessibility & contrast

On white

3.74
#C851D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#C851D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851D7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851D7#FFFFFF#000000##000000
##C851D71.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#357BDB
Deuteranopia (green-blind)
#6489D4
Tritanopia (blue-blind)
#CB668D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c851d7;
/* rgb */ color: rgb(200, 81, 215);
/* oklch */ color: oklch(64.1% 0.218 323.1);
Tailwind
colors: {
  custom: {
    50: '#dc89e4',
    500: '#c851d7',
    950: '#000000',
  },
}
SCSS
$custom: #c851d7;
$custom-light: #dc89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c851d7",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 293.284,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64116,
    "c": 0.2182,
    "h": 323.1
  },
  "luminance": 0.23071
}

Semantic roles & 50–950 ramp

primary
#C851D7
secondary
#ADDDA7
accent
#E64254
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C851D7

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

Preview Lab → · Contrast checker → · Palette generator →

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