#D054E5#D054E5

#D054E5 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.3% C 0.230 H 321.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#D054E5
RGBrgb(208, 84, 229)
HSLhsl(291, 74%, 61%)
HSVhsv(291, 63%, 90%)
CMYKcmyk(9.2%, 63.3%, 0%, 10.2%)
CIE-LABlab(57.47, 68.11, -51.31)
CIE-LCHlch(57.47, 85.27, 323.01°)
OKLaboklab(66.27% 0.1803 -0.143)
OKLCHoklch(66.27% 0.23 321.6)
XYZxyz(43.3241, 25.4099, 76.7361)
Luminance0.2541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D054E5 #69E554
analogous
#8854E5 #D054E5 #E554B2
triadic
#D054E5 #E5D054 #54E5D0
tetradic
#D054E5 #E58854 #69E554 #54B2E5
square
#D054E5 #E58854 #69E554 #54B2E5
split-complementary
#D054E5 #B2E554 #54E588
monochromatic
#9119A5 #C021DB #D054E5 #DF89ED #EDBEF5

Accessibility & contrast

On white

3.45
#D054E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#D054E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D054E5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D054E5#FFFFFF#000000##000000
##D054E51.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F81E9
Deuteranopia (green-blind)
#658FE1
Tritanopia (blue-blind)
#D26C95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d054e5;
/* rgb */ color: rgb(208, 84, 229);
/* oklch */ color: oklch(66.3% 0.230 321.6);
Tailwind
colors: {
  custom: {
    50: '#e28cee',
    500: '#d054e5',
    950: '#000000',
  },
}
SCSS
$custom: #d054e5;
$custom-light: #e28cee;
$custom-dark: #000000;
JSON
{
  "hex": "#d054e5",
  "rgb": {
    "r": 208,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 291.31,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66268,
    "c": 0.23014,
    "h": 321.6
  },
  "luminance": 0.25408
}

Semantic roles & 50–950 ramp

primary
#D054E5
secondary
#B7E6AF
accent
#D6102C
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D054E5

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

Preview Lab → · Contrast checker → · Palette generator →

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