#D251D6#D251D6

#D251D6 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.222 H 326.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#D251D6
RGBrgb(210, 81, 214)
HSLhsl(298, 62%, 58%)
HSVhsv(298, 62%, 84%)
CMYKcmyk(1.9%, 62.1%, 0%, 16.1%)
CIE-LABlab(56.53, 67.17, -44.32)
CIE-LCHlch(56.53, 80.48, 326.58°)
OKLaboklab(65.39% 0.1855 -0.1226)
OKLCHoklch(65.39% 0.222 326.5)
XYZxyz(41.6576, 24.4442, 66.1293)
Luminance0.2444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251D6 #55D651
analogous
#8F51D6 #D251D6 #D65198
triadic
#D251D6 #D6D251 #51D6D2
tetradic
#D251D6 #D68F51 #55D651 #5198D6
square
#D251D6 #D68F51 #55D651 #5198D6
split-complementary
#D251D6 #98D651 #51D68F
monochromatic
#88218C #B92DBD #D251D6 #DF83E2 #ECB4ED

Accessibility & contrast

On white

3.57
#D251D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#D251D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251D6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251D6#FFFFFF#000000##000000
##D251D61.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7DDA
Deuteranopia (green-blind)
#6D8DD2
Tritanopia (blue-blind)
#D7638C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d251d6;
/* rgb */ color: rgb(210, 81, 214);
/* oklch */ color: oklch(65.4% 0.222 326.5);
Tailwind
colors: {
  custom: {
    50: '#e38ae3',
    500: '#d251d6',
    950: '#000000',
  },
}
SCSS
$custom: #d251d6;
$custom-light: #e38ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#d251d6",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 298.195,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6539,
    "c": 0.22234,
    "h": 326.5
  },
  "luminance": 0.24442
}

Semantic roles & 50–950 ramp

primary
#D251D6
secondary
#A8DCA7
accent
#E54348
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D251D6

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

Preview Lab → · Contrast checker → · Palette generator →

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