#D251D5#D251D5

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

Color values

HEX#D251D5
RGBrgb(210, 81, 213)
HSLhsl(299, 61%, 58%)
HSVhsv(299, 62%, 84%)
CMYKcmyk(1.4%, 62%, 0%, 16.5%)
CIE-LABlab(56.48, 67.00, -43.83)
CIE-LCHlch(56.48, 80.07, 326.81°)
OKLaboklab(65.34% 0.1854 -0.1212)
OKLCHoklch(65.34% 0.222 326.8)
XYZxyz(41.5303, 24.3932, 65.4588)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251D5 #54D551
analogous
#9051D5 #D251D5 #D55196
triadic
#D251D5 #D5D251 #51D5D2
tetradic
#D251D5 #D59051 #54D551 #5196D5
square
#D251D5 #D59051 #54D551 #5196D5
split-complementary
#D251D5 #96D551 #51D590
monochromatic
#88218A #B82DBC #D251D5 #DF82E1 #EBB4ED

Accessibility & contrast

On white

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

On black

5.88
#D251D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251D5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251D5#FFFFFF#000000##000000
##D251D51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7DD9
Deuteranopia (green-blind)
#6E8DD1
Tritanopia (blue-blind)
#D8638C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d251d5;
/* rgb */ color: rgb(210, 81, 213);
/* oklch */ color: oklch(65.3% 0.222 326.8);
Tailwind
colors: {
  custom: {
    50: '#e38ae2',
    500: '#d251d5',
    950: '#000000',
  },
}
SCSS
$custom: #d251d5;
$custom-light: #e38ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#d251d5",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 298.636,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65337,
    "c": 0.22151,
    "h": 326.8
  },
  "luminance": 0.24391
}

Semantic roles & 50–950 ramp

primary
#D251D5
secondary
#A8DBA6
accent
#E44447
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D251D5

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

Preview Lab → · Contrast checker → · Palette generator →

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