#D251CD#D251CD

#D251CD is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.9% C 0.215 H 329.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#D251CD
RGBrgb(210, 81, 205)
HSLhsl(302, 59%, 57%)
HSVhsv(302, 61%, 82%)
CMYKcmyk(0%, 61.4%, 2.4%, 17.6%)
CIE-LABlab(56.08, 65.66, -39.90)
CIE-LCHlch(56.08, 76.84, 328.71°)
OKLaboklab(64.92% 0.1848 -0.1098)
OKLCHoklch(64.92% 0.215 329.3)
XYZxyz(40.5398, 23.9971, 60.2424)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251CD #51D256
analogous
#9751D2 #D251CD #D2518C
triadic
#D251CD #CDD251 #51CDD2
tetradic
#D251CD #D29751 #51D256 #518CD2
square
#D251CD #D29751 #51D256 #518CD2
split-complementary
#D251CD #8CD251 #51D297
monochromatic
#862382 #B72FB1 #D251CD #DF82DB #EBB2E9

Accessibility & contrast

On white

3.62
#D251CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#D251CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251CD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251CD#FFFFFF#000000##000000
##D251CD1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#728DCA
Tritanopia (blue-blind)
#D96088
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d251cd;
/* rgb */ color: rgb(210, 81, 205);
/* oklch */ color: oklch(64.9% 0.215 329.3);
Tailwind
colors: {
  custom: {
    50: '#e38adc',
    500: '#d251cd',
    950: '#000000',
  },
}
SCSS
$custom: #d251cd;
$custom-light: #e38adc;
$custom-dark: #000000;
JSON
{
  "hex": "#d251cd",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 302.326,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64922,
    "c": 0.21502,
    "h": 329.3
  },
  "luminance": 0.23994
}

Semantic roles & 50–950 ramp

primary
#D251CD
secondary
#A5DAA7
accent
#E24C46
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D251CD

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

Preview Lab → · Contrast checker → · Palette generator →

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