#D051EA#D051EA

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

Color values

HEX#D051EA
RGBrgb(208, 81, 234)
HSLhsl(290, 78%, 62%)
HSVhsv(290, 65%, 92%)
CMYKcmyk(11.1%, 65.4%, 0%, 8.2%)
CIE-LABlab(57.31, 70.24, -54.37)
CIE-LCHlch(57.31, 88.83, 322.26°)
OKLaboklab(66.24% 0.1836 -0.1519)
OKLCHoklch(66.24% 0.238 320.4)
XYZxyz(43.8044, 25.2374, 80.3899)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051EA #6BEA51
analogous
#8451EA #D051EA #EA51B8
triadic
#D051EA #EAD051 #51EAD0
tetradic
#D051EA #EA8451 #6BEA51 #51B8EA
square
#D051EA #EA8451 #6BEA51 #51B8EA
split-complementary
#D051EA #B8EA51 #51EA84
monochromatic
#9215AC #C11BE2 #D051EA #DF88F1 #EEBEF7

Accessibility & contrast

On white

3.47
#D051EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#D051EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051EA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051EA#FFFFFF#000000##000000
##D051EA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EF
Deuteranopia (green-blind)
#5F8EE6
Tritanopia (blue-blind)
#D16C97
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d051ea;
/* rgb */ color: rgb(208, 81, 234);
/* oklch */ color: oklch(66.2% 0.238 320.4);
Tailwind
colors: {
  custom: {
    50: '#e28bf1',
    500: '#d051ea',
    950: '#000000',
  },
}
SCSS
$custom: #d051ea;
$custom-light: #e28bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d051ea",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 289.804,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66236,
    "c": 0.23831,
    "h": 320.4
  },
  "luminance": 0.25235
}

Semantic roles & 50–950 ramp

primary
#D051EA
secondary
#B9E8AF
accent
#DB0B2E
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #D051EA

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

Preview Lab → · Contrast checker → · Palette generator →

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