#D051E5#D051E5

#D051E5 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.9% C 0.234 H 321.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#D051E5
RGBrgb(208, 81, 229)
HSLhsl(291, 74%, 61%)
HSVhsv(291, 65%, 90%)
CMYKcmyk(9.2%, 64.6%, 0%, 10.2%)
CIE-LABlab(57.03, 69.34, -52.01)
CIE-LCHlch(57.03, 86.67, 323.13°)
OKLaboklab(65.95% 0.1837 -0.145)
OKLCHoklch(65.95% 0.234 321.7)
XYZxyz(43.0962, 24.9541, 76.6602)
Luminance0.2495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051E5 #66E551
analogous
#8651E5 #D051E5 #E551B0
triadic
#D051E5 #E5D051 #51E5D0
tetradic
#D051E5 #E58651 #66E551 #51B0E5
square
#D051E5 #E58651 #66E551 #51B0E5
split-complementary
#D051E5 #B0E551 #51E586
monochromatic
#9018A3 #BE20D8 #D051E5 #DE86ED #EDBBF5

Accessibility & contrast

On white

3.51
#D051E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#D051E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051E5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051E5#FFFFFF#000000##000000
##D051E51.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2980E9
Deuteranopia (green-blind)
#638EE1
Tritanopia (blue-blind)
#D26A94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d051e5;
/* rgb */ color: rgb(208, 81, 229);
/* oklch */ color: oklch(65.9% 0.234 321.7);
Tailwind
colors: {
  custom: {
    50: '#e28bee',
    500: '#d051e5',
    950: '#000000',
  },
}
SCSS
$custom: #d051e5;
$custom-light: #e28bee;
$custom-dark: #000000;
JSON
{
  "hex": "#d051e5",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 291.486,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65949,
    "c": 0.23401,
    "h": 321.7
  },
  "luminance": 0.24952
}

Semantic roles & 50–950 ramp

primary
#D051E5
secondary
#B5E5AD
accent
#D60F2C
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D051E5

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

Preview Lab → · Contrast checker → · Palette generator →

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