#D051EF#D051EF

#D051EF is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.5% C 0.243 H 319.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#D051EF
RGBrgb(208, 81, 239)
HSLhsl(288, 83%, 63%)
HSVhsv(288, 66%, 94%)
CMYKcmyk(13%, 66.1%, 0%, 6.3%)
CIE-LABlab(57.59, 71.16, -56.72)
CIE-LCHlch(57.59, 91.00, 321.44°)
OKLaboklab(66.53% 0.1835 -0.1588)
OKLCHoklch(66.53% 0.243 319.1)
XYZxyz(44.5328, 25.5288, 84.2264)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051EF #70EF51
analogous
#8151EF #D051EF #EF51BF
triadic
#D051EF #EFD051 #51EFD0
tetradic
#D051EF #EF8151 #70EF51 #51BFEF
square
#D051EF #EF8151 #70EF51 #51BFEF
split-complementary
#D051EF #BFEF51 #51EF81
monochromatic
#9511B5 #C119EA #D051EF #DF89F4 #EEC1F9

Accessibility & contrast

On white

3.44
#D051EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#D051EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051EF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051EF#FFFFFF#000000##000000
##D051EF1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1282F4
Deuteranopia (green-blind)
#5B8FEB
Tritanopia (blue-blind)
#D06E9A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d051ef;
/* rgb */ color: rgb(208, 81, 239);
/* oklch */ color: oklch(66.5% 0.243 319.1);
Tailwind
colors: {
  custom: {
    50: '#e28bf5',
    500: '#d051ef',
    950: '#000000',
  },
}
SCSS
$custom: #d051ef;
$custom-light: #e28bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d051ef",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 239
  },
  "hsl": {
    "h": 288.228,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66529,
    "c": 0.24266,
    "h": 319.1
  },
  "luminance": 0.25527
}

Semantic roles & 50–950 ramp

primary
#D051EF
secondary
#BDEAB1
accent
#E00631
background
#FEF8FF
surface
#FDF0FE
border
#D5CBD6
text
#160D17
muted
#847D85

Preview Lab

Preview with #D051EF

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

Preview Lab → · Contrast checker → · Palette generator →

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