#D051E1#D051E1

#D051E1 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.7% C 0.231 H 322.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#D051E1
RGBrgb(208, 81, 225)
HSLhsl(293, 71%, 60%)
HSVhsv(293, 64%, 88%)
CMYKcmyk(7.6%, 64%, 0%, 11.8%)
CIE-LABlab(56.81, 68.62, -50.10)
CIE-LCHlch(56.81, 84.96, 323.86°)
OKLaboklab(65.72% 0.1836 -0.1395)
OKLCHoklch(65.72% 0.231 322.8)
XYZxyz(42.5441, 24.7333, 73.7527)
Luminance0.2473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051E1 #62E151
analogous
#8851E1 #D051E1 #E151AA
triadic
#D051E1 #E1D051 #51E1D0
tetradic
#D051E1 #E18851 #62E151 #51AAE1
square
#D051E1 #E18851 #62E151 #51AAE1
split-complementary
#D051E1 #AAE151 #51E188
monochromatic
#8D1B9D #BC24D1 #D051E1 #DE85EA #ECB9F3

Accessibility & contrast

On white

3.53
#D051E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#D051E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051E1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051E1#FFFFFF#000000##000000
##D051E11.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7FE5
Deuteranopia (green-blind)
#658DDD
Tritanopia (blue-blind)
#D36892
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d051e1;
/* rgb */ color: rgb(208, 81, 225);
/* oklch */ color: oklch(65.7% 0.231 322.8);
Tailwind
colors: {
  custom: {
    50: '#e28aeb',
    500: '#d051e1',
    950: '#000000',
  },
}
SCSS
$custom: #d051e1;
$custom-light: #e28aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#d051e1",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 292.917,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.65723,
    "c": 0.23058,
    "h": 322.8
  },
  "luminance": 0.24731
}

Semantic roles & 50–950 ramp

primary
#D051E1
secondary
#B2E3AB
accent
#ED3A50
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D051E1

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

Preview Lab → · Contrast checker → · Palette generator →

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