#D251E9#D251E9

#D251E9 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.238 H 321.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#D251E9
RGBrgb(210, 81, 233)
HSLhsl(291, 78%, 62%)
HSVhsv(291, 65%, 91%)
CMYKcmyk(9.9%, 65.2%, 0%, 8.6%)
CIE-LABlab(57.53, 70.50, -53.44)
CIE-LCHlch(57.53, 88.47, 322.84°)
OKLaboklab(66.44% 0.1859 -0.1491)
OKLCHoklch(66.44% 0.238 321.3)
XYZxyz(44.2271, 25.4720, 79.6620)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251E9 #68E951
analogous
#8651E9 #D251E9 #E951B4
triadic
#D251E9 #E9D251 #51E9D2
tetradic
#D251E9 #E98651 #68E951 #51B4E9
square
#D251E9 #E98651 #68E951 #51B4E9
split-complementary
#D251E9 #B4E951 #51E986
monochromatic
#9416AA #C31CE0 #D251E9 #E087F0 #EEBEF7

Accessibility & contrast

On white

3.45
#D251E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#D251E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251E9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251E9#FFFFFF#000000##000000
##D251E91.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2481ED
Deuteranopia (green-blind)
#628FE5
Tritanopia (blue-blind)
#D46B97
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d251e9;
/* rgb */ color: rgb(210, 81, 233);
/* oklch */ color: oklch(66.4% 0.238 321.3);
Tailwind
colors: {
  custom: {
    50: '#e38bf1',
    500: '#d251e9',
    950: '#000000',
  },
}
SCSS
$custom: #d251e9;
$custom-light: #e38bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d251e9",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 290.921,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66438,
    "c": 0.23832,
    "h": 321.3
  },
  "luminance": 0.2547
}

Semantic roles & 50–950 ramp

primary
#D251E9
secondary
#B7E7AF
accent
#DA0C2B
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #D251E9

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

Preview Lab → · Contrast checker → · Palette generator →

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