#D251CC#D251CC

#D251CC is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.214 H 329.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D251CC
RGBrgb(210, 81, 204)
HSLhsl(303, 59%, 57%)
HSVhsv(303, 61%, 82%)
CMYKcmyk(0%, 61.4%, 2.9%, 17.6%)
CIE-LABlab(56.04, 65.50, -39.41)
CIE-LCHlch(56.04, 76.44, 328.96°)
OKLaboklab(64.87% 0.1848 -0.1084)
OKLCHoklch(64.87% 0.214 329.6)
XYZxyz(40.4195, 23.9489, 59.6087)
Luminance0.2395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251CC #51D257
analogous
#9851D2 #D251CC #D2518B
triadic
#D251CC #CCD251 #51CCD2
tetradic
#D251CC #D29851 #51D257 #518BD2
square
#D251CC #D29851 #51D257 #518BD2
split-complementary
#D251CC #8BD251 #51D298
monochromatic
#862381 #B72FB0 #D251CC #DF82DA #EBB2E9

Accessibility & contrast

On white

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

On black

5.79
#D251CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251CC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251CC#FFFFFF#000000##000000
##D251CC1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#738DC9
Tritanopia (blue-blind)
#D95F87
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d251cc;
/* rgb */ color: rgb(210, 81, 204);
/* oklch */ color: oklch(64.9% 0.214 329.6);
Tailwind
colors: {
  custom: {
    50: '#e38adc',
    500: '#d251cc',
    950: '#000000',
  },
}
SCSS
$custom: #d251cc;
$custom-light: #e38adc;
$custom-dark: #000000;
JSON
{
  "hex": "#d251cc",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 302.791,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64872,
    "c": 0.21423,
    "h": 329.6
  },
  "luminance": 0.23946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D251CC

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

Preview Lab → · Contrast checker → · Palette generator →

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