#D04CE1#D04CE1

#D04CE1 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.2% C 0.237 H 323.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#D04CE1
RGBrgb(208, 76, 225)
HSLhsl(293, 71%, 59%)
HSVhsv(293, 66%, 88%)
CMYKcmyk(7.6%, 66.2%, 0%, 11.8%)
CIE-LABlab(56.11, 70.60, -51.23)
CIE-LCHlch(56.11, 87.23, 324.03°)
OKLaboklab(65.21% 0.189 -0.1427)
OKLCHoklch(65.21% 0.237 323)
XYZxyz(42.1862, 24.0174, 73.6333)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CE1 #5DE14C
analogous
#864CE1 #D04CE1 #E14CA8
triadic
#D04CE1 #E1D04C #4CE1D0
tetradic
#D04CE1 #E1864C #5DE14C #4CA8E1
square
#D04CE1 #E1864C #5DE14C #4CA8E1
split-complementary
#D04CE1 #A8E14C #4CE186
monochromatic
#8A1A99 #BA22CD #D04CE1 #DE80EA #ECB5F3

Accessibility & contrast

On white

3.62
#D04CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#D04CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CE1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CE1#FFFFFF#000000##000000
##D04CE11.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#247DE5
Deuteranopia (green-blind)
#628CDD
Tritanopia (blue-blind)
#D36591
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04ce1;
/* rgb */ color: rgb(208, 76, 225);
/* oklch */ color: oklch(65.2% 0.237 323.0);
Tailwind
colors: {
  custom: {
    50: '#e288eb',
    500: '#d04ce1',
    950: '#000000',
  },
}
SCSS
$custom: #d04ce1;
$custom-light: #e288eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ce1",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 293.154,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65212,
    "c": 0.23686,
    "h": 323
  },
  "luminance": 0.24015
}

Semantic roles & 50–950 ramp

primary
#D04CE1
secondary
#AEE2A7
accent
#EE3A4E
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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