#D251D9#D251D9

#D251D9 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.5% C 0.225 H 325.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#D251D9
RGBrgb(210, 81, 217)
HSLhsl(297, 64%, 58%)
HSVhsv(297, 63%, 85%)
CMYKcmyk(3.2%, 62.7%, 0%, 14.9%)
CIE-LABlab(56.68, 67.69, -45.78)
CIE-LCHlch(56.68, 81.71, 325.93°)
OKLaboklab(65.55% 0.1856 -0.1268)
OKLCHoklch(65.55% 0.225 325.7)
XYZxyz(42.0443, 24.5988, 68.1657)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251D9 #58D951
analogous
#8E51D9 #D251D9 #D9519C
triadic
#D251D9 #D9D251 #51D9D2
tetradic
#D251D9 #D98E51 #58D951 #519CD9
square
#D251D9 #D98E51 #58D951 #519CD9
split-complementary
#D251D9 #9CD951 #51D98E
monochromatic
#8A1F90 #BB2AC2 #D251D9 #DF83E4 #ECB5EF

Accessibility & contrast

On white

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

On black

5.92
#D251D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251D9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251D9#FFFFFF#000000##000000
##D251D91.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d251d9;
/* rgb */ color: rgb(210, 81, 217);
/* oklch */ color: oklch(65.5% 0.225 325.7);
Tailwind
colors: {
  custom: {
    50: '#e38ae5',
    500: '#d251d9',
    950: '#000000',
  },
}
SCSS
$custom: #d251d9;
$custom-light: #e38ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#d251d9",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 296.912,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6555,
    "c": 0.22482,
    "h": 325.7
  },
  "luminance": 0.24596
}

Semantic roles & 50–950 ramp

primary
#D251D9
secondary
#ABDEA8
accent
#E74149
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D251D9

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

Preview Lab → · Contrast checker → · Palette generator →

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