#D051EB#D051EB

#D051EB is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.3% C 0.239 H 320.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#D051EB
RGBrgb(208, 81, 235)
HSLhsl(289, 79%, 62%)
HSVhsv(289, 66%, 92%)
CMYKcmyk(11.5%, 65.5%, 0%, 7.8%)
CIE-LABlab(57.36, 70.42, -54.84)
CIE-LCHlch(57.36, 89.26, 322.09°)
OKLaboklab(66.29% 0.1836 -0.1533)
OKLCHoklch(66.29% 0.239 320.1)
XYZxyz(43.9484, 25.2950, 81.1486)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051EB #6CEB51
analogous
#8351EB #D051EB #EB51B9
triadic
#D051EB #EBD051 #51EBD0
tetradic
#D051EB #EB8351 #6CEB51 #51B9EB
square
#D051EB #EB8351 #6CEB51 #51B9EB
split-complementary
#D051EB #B9EB51 #51EB83
monochromatic
#9314AE #C11AE5 #D051EB #DF88F1 #EEBFF8

Accessibility & contrast

On white

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

On black

6.06
#D051EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051EB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051EB#FFFFFF#000000##000000
##D051EB1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81F0
Deuteranopia (green-blind)
#5E8EE7
Tritanopia (blue-blind)
#D16C98
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d051eb;
/* rgb */ color: rgb(208, 81, 235);
/* oklch */ color: oklch(66.3% 0.239 320.1);
Tailwind
colors: {
  custom: {
    50: '#e28bf2',
    500: '#d051eb',
    950: '#000000',
  },
}
SCSS
$custom: #d051eb;
$custom-light: #e28bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d051eb",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 289.481,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66294,
    "c": 0.23918,
    "h": 320.1
  },
  "luminance": 0.25293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D051EB

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

Preview Lab → · Contrast checker → · Palette generator →

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