#D054F5#D054F5

#D054F5 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.2% C 0.244 H 317.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#D054F5
RGBrgb(208, 84, 245)
HSLhsl(286, 89%, 65%)
HSVhsv(286, 66%, 96%)
CMYKcmyk(15.1%, 65.7%, 0%, 3.9%)
CIE-LABlab(58.36, 71.07, -58.82)
CIE-LCHlch(58.36, 92.25, 320.39°)
OKLaboklab(67.2% 0.1801 -0.1649)
OKLCHoklch(67.2% 0.244 317.5)
XYZxyz(45.6618, 26.3450, 89.0483)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D054F5 #79F554
analogous
#8054F5 #D054F5 #F554CA
triadic
#D054F5 #F5D054 #54F5D0
tetradic
#D054F5 #F58054 #79F554 #54CAF5
square
#D054F5 #F58054 #79F554 #54CAF5
split-complementary
#D054F5 #CAF554 #54F580
monochromatic
#990BC3 #C01AF2 #D054F5 #E08EF8 #F0C8FC

Accessibility & contrast

On white

3.35
#D054F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#D054F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D054F5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D054F5#FFFFFF#000000##000000
##D054F51.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0884FA
Deuteranopia (green-blind)
#5990F1
Tritanopia (blue-blind)
#CF729E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d054f5;
/* rgb */ color: rgb(208, 84, 245);
/* oklch */ color: oklch(67.2% 0.244 317.5);
Tailwind
colors: {
  custom: {
    50: '#e28df9',
    500: '#d054f5',
    950: '#000000',
  },
}
SCSS
$custom: #d054f5;
$custom-light: #e28df9;
$custom-dark: #000000;
JSON
{
  "hex": "#d054f5",
  "rgb": {
    "r": 208,
    "g": 84,
    "b": 245
  },
  "hsl": {
    "h": 286.211,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67197,
    "c": 0.24422,
    "h": 317.5
  },
  "luminance": 0.26343
}

Semantic roles & 50–950 ramp

primary
#D054F5
secondary
#C3EEB7
accent
#E60035
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D054F5

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

Preview Lab → · Contrast checker → · Palette generator →

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