#D578EA#D578EA

#D578EA is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.7% C 0.184 H 320.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D578EA
RGBrgb(213, 120, 234)
HSLhsl(289, 73%, 69%)
HSVhsv(289, 49%, 92%)
CMYKcmyk(9%, 48.7%, 0%, 8.2%)
CIE-LABlab(64.58, 53.60, -42.82)
CIE-LCHlch(64.58, 68.61, 321.38°)
OKLaboklab(71.69% 0.1413 -0.1185)
OKLCHoklch(71.69% 0.184 320)
XYZxyz(49.0065, 33.5215, 81.7148)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D578EA #8DEA78
analogous
#9C78EA #D578EA #EA78C6
triadic
#D578EA #EAD578 #78EAD5
tetradic
#D578EA #EA9C78 #8DEA78 #78C6EA
square
#D578EA #EA9C78 #8DEA78 #78C6EA
split-complementary
#D578EA #C6EA78 #78EA9C
monochromatic
#A91FC8 #C543E2 #D578EA #E5ADF2 #F6E2FA

Accessibility & contrast

On white

2.73
#D578EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#D578EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D578EA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D578EA#FFFFFF#000000##000000
##D578EA1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EE
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#D687A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d578ea;
/* rgb */ color: rgb(213, 120, 234);
/* oklch */ color: oklch(71.7% 0.184 320.0);
Tailwind
colors: {
  custom: {
    50: '#e4a2f1',
    500: '#d578ea',
    950: '#000000',
  },
}
SCSS
$custom: #d578ea;
$custom-light: #e4a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d578ea",
  "rgb": {
    "r": 213,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 288.947,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71689,
    "c": 0.18438,
    "h": 320
  },
  "luminance": 0.3352
}

Semantic roles & 50–950 ramp

primary
#D578EA
secondary
#D5EFCE
accent
#D51035
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D578EA

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

Preview Lab → · Contrast checker → · Palette generator →

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