#D04CE5#D04CE5

#D04CE5 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.4% C 0.240 H 321.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D04CE5
RGBrgb(208, 76, 229)
HSLhsl(292, 75%, 60%)
HSVhsv(292, 67%, 90%)
CMYKcmyk(9.2%, 66.8%, 0%, 10.2%)
CIE-LABlab(56.33, 71.31, -53.13)
CIE-LCHlch(56.33, 88.93, 323.31°)
OKLaboklab(65.44% 0.189 -0.1483)
OKLCHoklch(65.44% 0.24 321.9)
XYZxyz(42.7382, 24.2382, 76.5408)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CE5 #61E54C
analogous
#844CE5 #D04CE5 #E54CAD
triadic
#D04CE5 #E5D04C #4CE5D0
tetradic
#D04CE5 #E5844C #61E54C #4CADE5
square
#D04CE5 #E5844C #61E54C #4CADE5
split-complementary
#D04CE5 #ADE54C #4CE584
monochromatic
#8D179F #BC1FD5 #D04CE5 #DE81ED #ECB7F5

Accessibility & contrast

On white

3.59
#D04CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D04CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CE5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CE5#FFFFFF#000000##000000
##D04CE51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7DE9
Deuteranopia (green-blind)
#5F8CE1
Tritanopia (blue-blind)
#D26693
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d04ce5;
/* rgb */ color: rgb(208, 76, 229);
/* oklch */ color: oklch(65.4% 0.240 321.9);
Tailwind
colors: {
  custom: {
    50: '#e288ee',
    500: '#d04ce5',
    950: '#000000',
  },
}
SCSS
$custom: #d04ce5;
$custom-light: #e288ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ce5",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 291.765,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65441,
    "c": 0.2402,
    "h": 321.9
  },
  "luminance": 0.24236
}

Semantic roles & 50–950 ramp

primary
#D04CE5
secondary
#B1E4A9
accent
#F13750
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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