#D251CF#D251CF

#D251CF is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.0% C 0.217 H 328.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#D251CF
RGBrgb(210, 81, 207)
HSLhsl(301, 59%, 57%)
HSVhsv(301, 61%, 82%)
CMYKcmyk(0%, 61.4%, 1.4%, 17.6%)
CIE-LABlab(56.18, 65.99, -40.89)
CIE-LCHlch(56.18, 77.64, 328.22°)
OKLaboklab(65.03% 0.185 -0.1127)
OKLCHoklch(65.03% 0.217 328.7)
XYZxyz(40.7828, 24.0942, 61.5220)
Luminance0.2409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251CF #51D254
analogous
#9451D2 #D251CF #D2518F
triadic
#D251CF #CFD251 #51CFD2
tetradic
#D251CF #D29451 #51D254 #518FD2
square
#D251CF #D29451 #51D254 #518FD2
split-complementary
#D251CF #8FD251 #51D294
monochromatic
#862384 #B72FB3 #D251CF #DF82DC #EBB2EA

Accessibility & contrast

On white

3.61
#D251CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#D251CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251CF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251CF#FFFFFF#000000##000000
##D251CF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#437CD3
Deuteranopia (green-blind)
#718DCB
Tritanopia (blue-blind)
#D96089
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d251cf;
/* rgb */ color: rgb(210, 81, 207);
/* oklch */ color: oklch(65.0% 0.217 328.7);
Tailwind
colors: {
  custom: {
    50: '#e38ade',
    500: '#d251cf',
    950: '#000000',
  },
}
SCSS
$custom: #d251cf;
$custom-light: #e38ade;
$custom-dark: #000000;
JSON
{
  "hex": "#d251cf",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 301.395,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65025,
    "c": 0.21663,
    "h": 328.7
  },
  "luminance": 0.24091
}

Semantic roles & 50–950 ramp

primary
#D251CF
secondary
#A5DAA6
accent
#E24946
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D251CF

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

Preview Lab → · Contrast checker → · Palette generator →

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