#D054F2#D054F2

#D054F2 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.242 H 318.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#D054F2
RGBrgb(208, 84, 242)
HSLhsl(287, 86%, 64%)
HSVhsv(287, 65%, 95%)
CMYKcmyk(14%, 65.3%, 0%, 5.1%)
CIE-LABlab(58.19, 70.50, -57.43)
CIE-LCHlch(58.19, 90.93, 320.84°)
OKLaboklab(67.02% 0.1802 -0.1608)
OKLCHoklch(67.02% 0.242 318.3)
XYZxyz(45.2076, 26.1633, 86.6559)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D054F2 #76F254
analogous
#8154F2 #D054F2 #F254C5
triadic
#D054F2 #F2D054 #54F2D0
tetradic
#D054F2 #F28154 #76F254 #54C5F2
square
#D054F2 #F28154 #76F254 #54C5F2
split-complementary
#D054F2 #C5F254 #54F281
monochromatic
#980EBD #C01BEE #D054F2 #E08DF6 #EFC6FB

Accessibility & contrast

On white

3.37
#D054F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#D054F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D054F2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D054F2#FFFFFF#000000##000000
##D054F21.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1584F7
Deuteranopia (green-blind)
#5B90EE
Tritanopia (blue-blind)
#CF719C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d054f2;
/* rgb */ color: rgb(208, 84, 242);
/* oklch */ color: oklch(67.0% 0.242 318.3);
Tailwind
colors: {
  custom: {
    50: '#e28cf7',
    500: '#d054f2',
    950: '#000000',
  },
}
SCSS
$custom: #d054f2;
$custom-light: #e28cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d054f2",
  "rgb": {
    "r": 208,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 287.089,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67018,
    "c": 0.24156,
    "h": 318.3
  },
  "luminance": 0.26161
}

Semantic roles & 50–950 ramp

primary
#D054F2
secondary
#C1EDB5
accent
#E20333
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D054F2

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

Preview Lab → · Contrast checker → · Palette generator →

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