#D051E7#D051E7

#D051E7 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.1% C 0.236 H 321.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#D051E7
RGBrgb(208, 81, 231)
HSLhsl(291, 76%, 61%)
HSVhsv(291, 65%, 91%)
CMYKcmyk(10%, 64.9%, 0%, 9.4%)
CIE-LABlab(57.14, 69.70, -52.96)
CIE-LCHlch(57.14, 87.53, 322.77°)
OKLaboklab(66.06% 0.1837 -0.1478)
OKLCHoklch(66.06% 0.236 321.2)
XYZxyz(43.3770, 25.0665, 78.1393)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051E7 #68E751
analogous
#8551E7 #D051E7 #E751B3
triadic
#D051E7 #E7D051 #51E7D0
tetradic
#D051E7 #E78551 #68E751 #51B3E7
square
#D051E7 #E78551 #68E751 #51B3E7
split-complementary
#D051E7 #B3E751 #51E785
monochromatic
#9117A7 #BF1EDC #D051E7 #DF87EE #EDBDF6

Accessibility & contrast

On white

3.49
#D051E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#D051E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051E7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051E7#FFFFFF#000000##000000
##D051E71.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2680EB
Deuteranopia (green-blind)
#618EE3
Tritanopia (blue-blind)
#D26A95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d051e7;
/* rgb */ color: rgb(208, 81, 231);
/* oklch */ color: oklch(66.1% 0.236 321.2);
Tailwind
colors: {
  custom: {
    50: '#e28bef',
    500: '#d051e7',
    950: '#000000',
  },
}
SCSS
$custom: #d051e7;
$custom-light: #e28bef;
$custom-dark: #000000;
JSON
{
  "hex": "#d051e7",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 290.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66063,
    "c": 0.23572,
    "h": 321.2
  },
  "luminance": 0.25064
}

Semantic roles & 50–950 ramp

primary
#D051E7
secondary
#B6E6AE
accent
#D80E2D
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D051E7

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

Preview Lab → · Contrast checker → · Palette generator →

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