#D04AEA#D04AEA

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

Color values

HEX#D04AEA
RGBrgb(208, 74, 234)
HSLhsl(290, 79%, 60%)
HSVhsv(290, 68%, 92%)
CMYKcmyk(11.1%, 68.4%, 0%, 8.2%)
CIE-LABlab(56.34, 72.96, -55.92)
CIE-LCHlch(56.34, 91.92, 322.53°)
OKLaboklab(65.54% 0.1909 -0.1564)
OKLCHoklch(65.54% 0.247 320.7)
XYZxyz(43.3107, 24.2502, 80.2254)
Luminance0.2425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04AEA #64EA4A
analogous
#804AEA #D04AEA #EA4AB4
triadic
#D04AEA #EAD04A #4AEAD0
tetradic
#D04AEA #EA804A #64EA4A #4AB4EA
square
#D04AEA #EA804A #64EA4A #4AB4EA
split-complementary
#D04AEA #B4EA4A #4AEA80
monochromatic
#8E13A6 #BD1ADD #D04AEA #DE81F0 #ECB8F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04AEA#FFFFFF#000000##000000
##D04AEA1.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)
#007EEF
Deuteranopia (green-blind)
#5A8CE6
Tritanopia (blue-blind)
#D16795
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d04aea;
/* rgb */ color: rgb(208, 74, 234);
/* oklch */ color: oklch(65.5% 0.247 320.7);
Tailwind
colors: {
  custom: {
    50: '#e287f1',
    500: '#d04aea',
    950: '#000000',
  },
}
SCSS
$custom: #d04aea;
$custom-light: #e287f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d04aea",
  "rgb": {
    "r": 208,
    "g": 74,
    "b": 234
  },
  "hsl": {
    "h": 290.25,
    "s": 79.208,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65541,
    "c": 0.24677,
    "h": 320.7
  },
  "luminance": 0.24248
}

Semantic roles & 50–950 ramp

primary
#D04AEA
secondary
#B3E6A9
accent
#DC0A2C
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #D04AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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