#D054E7#D054E7

#D054E7 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.232 H 321.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#D054E7
RGBrgb(208, 84, 231)
HSLhsl(291, 75%, 62%)
HSVhsv(291, 64%, 91%)
CMYKcmyk(10%, 63.6%, 0%, 9.4%)
CIE-LABlab(57.58, 68.47, -52.26)
CIE-LCHlch(57.58, 86.13, 322.65°)
OKLaboklab(66.38% 0.1804 -0.1457)
OKLCHoklch(66.38% 0.232 321.1)
XYZxyz(43.6049, 25.5222, 78.2153)
Luminance0.2552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D054E7 #6BE754
analogous
#8754E7 #D054E7 #E754B5
triadic
#D054E7 #E7D054 #54E7D0
tetradic
#D054E7 #E78754 #6BE754 #54B5E7
square
#D054E7 #E78754 #6BE754 #54B5E7
split-complementary
#D054E7 #B5E754 #54E787
monochromatic
#9218A9 #C11FDF #D054E7 #DF8AEF #EEBFF6

Accessibility & contrast

On white

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

On black

6.10
#D054E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D054E7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D054E7#FFFFFF#000000##000000
##D054E71.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C81EB
Deuteranopia (green-blind)
#638FE3
Tritanopia (blue-blind)
#D26C96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d054e7;
/* rgb */ color: rgb(208, 84, 231);
/* oklch */ color: oklch(66.4% 0.232 321.1);
Tailwind
colors: {
  custom: {
    50: '#e28cef',
    500: '#d054e7',
    950: '#000000',
  },
}
SCSS
$custom: #d054e7;
$custom-light: #e28cef;
$custom-dark: #000000;
JSON
{
  "hex": "#d054e7",
  "rgb": {
    "r": 208,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 290.612,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66381,
    "c": 0.23188,
    "h": 321.1
  },
  "luminance": 0.2552
}

Semantic roles & 50–950 ramp

primary
#D054E7
secondary
#B9E7B0
accent
#D80E2D
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D054E7

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

Preview Lab → · Contrast checker → · Palette generator →

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