#D251EA#D251EA

#D251EA is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.5% C 0.239 H 321.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#D251EA
RGBrgb(210, 81, 234)
HSLhsl(291, 78%, 62%)
HSVhsv(291, 65%, 92%)
CMYKcmyk(10.3%, 65.4%, 0%, 8.2%)
CIE-LABlab(57.59, 70.68, -53.91)
CIE-LCHlch(57.59, 88.90, 322.67°)
OKLaboklab(66.5% 0.1859 -0.1505)
OKLCHoklch(66.5% 0.239 321)
XYZxyz(44.3704, 25.5293, 80.4164)
Luminance0.2553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251EA #69EA51
analogous
#8651EA #D251EA #EA51B6
triadic
#D251EA #EAD251 #51EAD2
tetradic
#D251EA #EA8651 #69EA51 #51B6EA
square
#D251EA #EA8651 #69EA51 #51B6EA
split-complementary
#D251EA #B6EA51 #51EA86
monochromatic
#9415AC #C31BE2 #D251EA #E088F1 #EEBEF7

Accessibility & contrast

On white

3.44
#D251EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#D251EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251EA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251EA#FFFFFF#000000##000000
##D251EA1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2281EF
Deuteranopia (green-blind)
#618FE6
Tritanopia (blue-blind)
#D46B97
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d251ea;
/* rgb */ color: rgb(210, 81, 234);
/* oklch */ color: oklch(66.5% 0.239 321.0);
Tailwind
colors: {
  custom: {
    50: '#e38bf1',
    500: '#d251ea',
    950: '#000000',
  },
}
SCSS
$custom: #d251ea;
$custom-light: #e38bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d251ea",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 290.588,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66496,
    "c": 0.23918,
    "h": 321
  },
  "luminance": 0.25527
}

Semantic roles & 50–950 ramp

primary
#D251EA
secondary
#B8E8AF
accent
#DB0B2B
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #D251EA

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

Preview Lab → · Contrast checker → · Palette generator →

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