#D054E1#D054E1

#D054E1 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.227 H 322.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#D054E1
RGBrgb(208, 84, 225)
HSLhsl(293, 70%, 61%)
HSVhsv(293, 63%, 88%)
CMYKcmyk(7.6%, 62.7%, 0%, 11.8%)
CIE-LABlab(57.26, 67.38, -49.40)
CIE-LCHlch(57.26, 83.55, 323.76°)
OKLaboklab(66.05% 0.1803 -0.1374)
OKLCHoklch(66.05% 0.227 322.7)
XYZxyz(42.7720, 25.1891, 73.8286)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D054E1 #65E154
analogous
#8954E1 #D054E1 #E154AB
triadic
#D054E1 #E1D054 #54E1D0
tetradic
#D054E1 #E18954 #65E154 #54ABE1
square
#D054E1 #E18954 #65E154 #54ABE1
split-complementary
#D054E1 #ABE154 #54E189
monochromatic
#8F1C9F #BE25D3 #D054E1 #DE88EA #EDBCF3

Accessibility & contrast

On white

3.48
#D054E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#D054E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D054E1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D054E1#FFFFFF#000000##000000
##D054E11.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3580E5
Deuteranopia (green-blind)
#678EDD
Tritanopia (blue-blind)
#D36A93
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d054e1;
/* rgb */ color: rgb(208, 84, 225);
/* oklch */ color: oklch(66.0% 0.227 322.7);
Tailwind
colors: {
  custom: {
    50: '#e28ceb',
    500: '#d054e1',
    950: '#000000',
  },
}
SCSS
$custom: #d054e1;
$custom-light: #e28ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#d054e1",
  "rgb": {
    "r": 208,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 292.766,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66045,
    "c": 0.22667,
    "h": 322.7
  },
  "luminance": 0.25187
}

Semantic roles & 50–950 ramp

primary
#D054E1
secondary
#B4E3AE
accent
#D2132A
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D054E1

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

Preview Lab → · Contrast checker → · Palette generator →

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