#D04DEA#D04DEA

#D04DEA is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.8% C 0.243 H 320.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#D04DEA
RGBrgb(208, 77, 234)
HSLhsl(290, 79%, 61%)
HSVhsv(290, 67%, 92%)
CMYKcmyk(11.1%, 67.1%, 0%, 8.2%)
CIE-LABlab(56.74, 71.82, -55.27)
CIE-LCHlch(56.74, 90.62, 322.42°)
OKLaboklab(65.83% 0.1878 -0.1545)
OKLCHoklch(65.83% 0.243 320.6)
XYZxyz(43.5158, 24.6604, 80.2937)
Luminance0.2466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DEA #67EA4D
analogous
#814DEA #D04DEA #EA4DB5
triadic
#D04DEA #EAD04D #4DEAD0
tetradic
#D04DEA #EA814D #67EA4D #4DB5EA
square
#D04DEA #EA814D #67EA4D #4DB5EA
split-complementary
#D04DEA #B5EA4D #4DEA81
monochromatic
#9014A9 #BF1ADF #D04DEA #DE84F0 #EDBAF7

Accessibility & contrast

On white

3.54
#D04DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#D04DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04DEA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04DEA#FFFFFF#000000##000000
##D04DEA1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#117FEF
Deuteranopia (green-blind)
#5C8DE6
Tritanopia (blue-blind)
#D16996
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d04dea;
/* rgb */ color: rgb(208, 77, 234);
/* oklch */ color: oklch(65.8% 0.243 320.6);
Tailwind
colors: {
  custom: {
    50: '#e289f1',
    500: '#d04dea',
    950: '#000000',
  },
}
SCSS
$custom: #d04dea;
$custom-light: #e289f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d04dea",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 290.064,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65831,
    "c": 0.24322,
    "h": 320.6
  },
  "luminance": 0.24658
}

Semantic roles & 50–950 ramp

primary
#D04DEA
secondary
#B6E7AC
accent
#DB0A2D
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #D04DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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