#C851DF#C851DF

#C851DF is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.6% C 0.225 H 320.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C851DF
RGBrgb(200, 81, 223)
HSLhsl(290, 69%, 60%)
HSVhsv(290, 64%, 87%)
CMYKcmyk(10.3%, 63.7%, 0%, 12.5%)
CIE-LABlab(55.58, 66.42, -51.01)
CIE-LCHlch(55.58, 83.75, 322.47°)
OKLaboklab(64.57% 0.1745 -0.1423)
OKLCHoklch(64.57% 0.225 320.8)
XYZxyz(40.0796, 23.4939, 72.2214)
Luminance0.2349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851DF #68DF51
analogous
#8151DF #C851DF #DF51AF
triadic
#C851DF #DFC851 #51DFC8
tetradic
#C851DF #DF8151 #68DF51 #51AFDF
square
#C851DF #DF8151 #68DF51 #51AFDF
split-complementary
#C851DF #AFDF51 #51DF81
monochromatic
#851C99 #B226CD #C851DF #D885E9 #E9B8F2

Accessibility & contrast

On white

3.69
#C851DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#C851DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851DF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851DF#FFFFFF#000000##000000
##C851DF1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7DE3
Deuteranopia (green-blind)
#5F89DB
Tritanopia (blue-blind)
#C96991
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c851df;
/* rgb */ color: rgb(200, 81, 223);
/* oklch */ color: oklch(64.6% 0.225 320.8);
Tailwind
colors: {
  custom: {
    50: '#dc8ae9',
    500: '#c851df',
    950: '#000000',
  },
}
SCSS
$custom: #c851df;
$custom-light: #dc8ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#c851df",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 290.282,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64566,
    "c": 0.22521,
    "h": 320.8
  },
  "luminance": 0.23492
}

Semantic roles & 50–950 ramp

primary
#C851DF
secondary
#B3E1AA
accent
#EC3C58
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C851DF

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

Preview Lab → · Contrast checker → · Palette generator →

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