#D054EF#D054EF

#D054EF is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.239 H 319.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#D054EF
RGBrgb(208, 84, 239)
HSLhsl(288, 83%, 63%)
HSVhsv(288, 65%, 94%)
CMYKcmyk(13%, 64.9%, 0%, 6.3%)
CIE-LABlab(58.02, 69.94, -56.02)
CIE-LCHlch(58.02, 89.62, 321.31°)
OKLaboklab(66.84% 0.1803 -0.1568)
OKLCHoklch(66.84% 0.239 319)
XYZxyz(44.7607, 25.9846, 84.3024)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D054EF #73EF54
analogous
#8254EF #D054EF #EF54C0
triadic
#D054EF #EFD054 #54EFD0
tetradic
#D054EF #EF8254 #73EF54 #54C0EF
square
#D054EF #EF8254 #73EF54 #54C0EF
split-complementary
#D054EF #C0EF54 #54EF82
monochromatic
#9611B7 #C11CEA #D054EF #DF8CF4 #EFC4F9

Accessibility & contrast

On white

3.39
#D054EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#D054EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D054EF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D054EF#FFFFFF#000000##000000
##D054EF1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D83F4
Deuteranopia (green-blind)
#5E90EB
Tritanopia (blue-blind)
#D06F9B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d054ef;
/* rgb */ color: rgb(208, 84, 239);
/* oklch */ color: oklch(66.8% 0.239 319.0);
Tailwind
colors: {
  custom: {
    50: '#e28cf5',
    500: '#d054ef',
    950: '#000000',
  },
}
SCSS
$custom: #d054ef;
$custom-light: #e28cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d054ef",
  "rgb": {
    "r": 208,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 288,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66842,
    "c": 0.23891,
    "h": 319
  },
  "luminance": 0.25983
}

Semantic roles & 50–950 ramp

primary
#D054EF
secondary
#BFEBB4
accent
#DF0632
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D054EF

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

Preview Lab → · Contrast checker → · Palette generator →

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