#D251E4#D251E4

#D251E4 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.2% C 0.234 H 322.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#D251E4
RGBrgb(210, 81, 228)
HSLhsl(293, 73%, 61%)
HSVhsv(293, 64%, 89%)
CMYKcmyk(7.9%, 64.5%, 0%, 10.6%)
CIE-LABlab(57.26, 69.61, -51.06)
CIE-LCHlch(57.26, 86.33, 323.74°)
OKLaboklab(66.16% 0.1859 -0.1422)
OKLCHoklch(66.16% 0.234 322.6)
XYZxyz(43.5230, 25.1903, 75.9535)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251E4 #63E451
analogous
#8851E4 #D251E4 #E451AC
triadic
#D251E4 #E4D251 #51E4D2
tetradic
#D251E4 #E48851 #63E451 #51ACE4
square
#D251E4 #E48851 #63E451 #51ACE4
split-complementary
#D251E4 #ACE451 #51E488
monochromatic
#9119A2 #C021D7 #D251E4 #E086EC #EDBBF4

Accessibility & contrast

On white

3.48
#D251E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#D251E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251E4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251E4#FFFFFF#000000##000000
##D251E41.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D80E8
Deuteranopia (green-blind)
#658FE0
Tritanopia (blue-blind)
#D56994
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d251e4;
/* rgb */ color: rgb(210, 81, 228);
/* oklch */ color: oklch(66.2% 0.234 322.6);
Tailwind
colors: {
  custom: {
    50: '#e38bed',
    500: '#d251e4',
    950: '#000000',
  },
}
SCSS
$custom: #d251e4;
$custom-light: #e38bed;
$custom-dark: #000000;
JSON
{
  "hex": "#d251e4",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 292.653,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66155,
    "c": 0.23406,
    "h": 322.6
  },
  "luminance": 0.25188
}

Semantic roles & 50–950 ramp

primary
#D251E4
secondary
#B3E4AC
accent
#D51028
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D251E4

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

Preview Lab → · Contrast checker → · Palette generator →

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