#D251CB#D251CB

#D251CB is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.213 H 329.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D251CB
RGBrgb(210, 81, 203)
HSLhsl(303, 59%, 57%)
HSVhsv(303, 61%, 82%)
CMYKcmyk(0%, 61.4%, 3.3%, 17.6%)
CIE-LABlab(55.99, 65.33, -38.91)
CIE-LCHlch(55.99, 76.04, 329.22°)
OKLaboklab(64.82% 0.1847 -0.107)
OKLCHoklch(64.82% 0.213 329.9)
XYZxyz(40.3000, 23.9011, 58.9791)
Luminance0.2390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251CB #51D258
analogous
#9951D2 #D251CB #D2518B
triadic
#D251CB #CBD251 #51CBD2
tetradic
#D251CB #D29951 #51D258 #518BD2
square
#D251CB #D29951 #51D258 #518BD2
split-complementary
#D251CB #8BD251 #51D299
monochromatic
#862381 #B72FAF #D251CB #DF82DA #EBB2E8

Accessibility & contrast

On white

3.63
#D251CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D251CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251CB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251CB#FFFFFF#000000##000000
##D251CB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#738CC8
Tritanopia (blue-blind)
#D95F87
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d251cb;
/* rgb */ color: rgb(210, 81, 203);
/* oklch */ color: oklch(64.8% 0.213 329.9);
Tailwind
colors: {
  custom: {
    50: '#e38adb',
    500: '#d251cb',
    950: '#000000',
  },
}
SCSS
$custom: #d251cb;
$custom-light: #e38adb;
$custom-dark: #000000;
JSON
{
  "hex": "#d251cb",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 303.256,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64821,
    "c": 0.21343,
    "h": 329.9
  },
  "luminance": 0.23898
}

Semantic roles & 50–950 ramp

primary
#D251CB
secondary
#A5DAA8
accent
#E24E46
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D251CB

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

Preview Lab → · Contrast checker → · Palette generator →

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