#D251D8#D251D8

#D251D8 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.5% C 0.224 H 325.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#D251D8
RGBrgb(210, 81, 216)
HSLhsl(297, 63%, 58%)
HSVhsv(297, 63%, 85%)
CMYKcmyk(2.8%, 62.5%, 0%, 15.3%)
CIE-LABlab(56.63, 67.51, -45.29)
CIE-LCHlch(56.63, 81.30, 326.14°)
OKLaboklab(65.5% 0.1856 -0.1254)
OKLCHoklch(65.5% 0.224 325.9)
XYZxyz(41.9146, 24.5470, 67.4828)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251D8 #57D851
analogous
#8E51D8 #D251D8 #D8519B
triadic
#D251D8 #D8D251 #51D8D2
tetradic
#D251D8 #D88E51 #57D851 #519BD8
square
#D251D8 #D88E51 #57D851 #519BD8
split-complementary
#D251D8 #9BD851 #51D88E
monochromatic
#8A208F #BA2BC1 #D251D8 #DF83E3 #ECB5EE

Accessibility & contrast

On white

3.55
#D251D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#D251D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251D8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251D8#FFFFFF#000000##000000
##D251D81.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7DDC
Deuteranopia (green-blind)
#6C8DD4
Tritanopia (blue-blind)
#D7648E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d251d8;
/* rgb */ color: rgb(210, 81, 216);
/* oklch */ color: oklch(65.5% 0.224 325.9);
Tailwind
colors: {
  custom: {
    50: '#e38ae4',
    500: '#d251d8',
    950: '#000000',
  },
}
SCSS
$custom: #d251d8;
$custom-light: #e38ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d251d8",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 297.333,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65496,
    "c": 0.22399,
    "h": 325.9
  },
  "luminance": 0.24544
}

Semantic roles & 50–950 ramp

primary
#D251D8
secondary
#AADDA8
accent
#E64149
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D251D8

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

Preview Lab → · Contrast checker → · Palette generator →

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