#D251EB#D251EB

#D251EB is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.6% C 0.240 H 320.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#D251EB
RGBrgb(210, 81, 235)
HSLhsl(290, 79%, 62%)
HSVhsv(290, 66%, 92%)
CMYKcmyk(10.6%, 65.5%, 0%, 7.8%)
CIE-LABlab(57.64, 70.86, -54.38)
CIE-LCHlch(57.64, 89.33, 322.50°)
OKLaboklab(66.55% 0.1859 -0.1519)
OKLCHoklch(66.55% 0.24 320.7)
XYZxyz(44.5144, 25.5869, 81.1752)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251EB #6AEB51
analogous
#8551EB #D251EB #EB51B7
triadic
#D251EB #EBD251 #51EBD2
tetradic
#D251EB #EB8551 #6AEB51 #51B7EB
square
#D251EB #EB8551 #6AEB51 #51B7EB
split-complementary
#D251EB #B7EB51 #51EB85
monochromatic
#9514AE #C41AE5 #D251EB #E088F1 #EEBFF8

Accessibility & contrast

On white

3.43
#D251EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#D251EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251EB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251EB#FFFFFF#000000##000000
##D251EB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081F0
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#D36C98
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d251eb;
/* rgb */ color: rgb(210, 81, 235);
/* oklch */ color: oklch(66.6% 0.240 320.7);
Tailwind
colors: {
  custom: {
    50: '#e38bf2',
    500: '#d251eb',
    950: '#000000',
  },
}
SCSS
$custom: #d251eb;
$custom-light: #e38bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d251eb",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 290.26,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66554,
    "c": 0.24004,
    "h": 320.7
  },
  "luminance": 0.25585
}

Semantic roles & 50–950 ramp

primary
#D251EB
secondary
#B9E8B0
accent
#DC0A2C
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #D251EB

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

Preview Lab → · Contrast checker → · Palette generator →

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