#D054F1#D054F1

#D054F1 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 67.0% C 0.241 H 318.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#D054F1
RGBrgb(208, 84, 241)
HSLhsl(287, 85%, 64%)
HSVhsv(287, 65%, 95%)
CMYKcmyk(13.7%, 65.1%, 0%, 5.5%)
CIE-LABlab(58.14, 70.32, -56.96)
CIE-LCHlch(58.14, 90.49, 320.99°)
OKLaboklab(66.96% 0.1803 -0.1595)
OKLCHoklch(66.96% 0.241 318.5)
XYZxyz(45.0578, 26.1034, 85.8671)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D054F1 #75F154
analogous
#8154F1 #D054F1 #F154C3
triadic
#D054F1 #F1D054 #54F1D0
tetradic
#D054F1 #F18154 #75F154 #54C3F1
square
#D054F1 #F18154 #75F154 #54C3F1
split-complementary
#D054F1 #C3F154 #54F181
monochromatic
#970FBB #C01BEC #D054F1 #E08DF6 #EFC5FA

Accessibility & contrast

On white

3.38
#D054F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#D054F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D054F1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D054F1#FFFFFF#000000##000000
##D054F11.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1884F6
Deuteranopia (green-blind)
#5C90ED
Tritanopia (blue-blind)
#D0709C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d054f1;
/* rgb */ color: rgb(208, 84, 241);
/* oklch */ color: oklch(67.0% 0.241 318.5);
Tailwind
colors: {
  custom: {
    50: '#e28cf6',
    500: '#d054f1',
    950: '#000000',
  },
}
SCSS
$custom: #d054f1;
$custom-light: #e28cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d054f1",
  "rgb": {
    "r": 208,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 287.389,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66959,
    "c": 0.24068,
    "h": 318.5
  },
  "luminance": 0.26101
}

Semantic roles & 50–950 ramp

primary
#D054F1
secondary
#C0ECB5
accent
#E10433
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D054F1

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

Preview Lab → · Contrast checker → · Palette generator →

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