#D578EF#D578EF

#D578EF is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.9% C 0.189 H 318.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D578EF
RGBrgb(213, 120, 239)
HSLhsl(287, 79%, 70%)
HSVhsv(287, 50%, 94%)
CMYKcmyk(10.9%, 49.8%, 0%, 6.3%)
CIE-LABlab(64.81, 54.58, -45.22)
CIE-LCHlch(64.81, 70.88, 320.36°)
OKLaboklab(71.94% 0.1419 -0.1254)
OKLCHoklch(71.94% 0.189 318.5)
XYZxyz(49.7349, 33.8129, 85.5513)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D578EF #92EF78
analogous
#9978EF #D578EF #EF78CD
triadic
#D578EF #EFD578 #78EFD5
tetradic
#D578EF #EF9978 #92EF78 #78CDEF
square
#D578EF #EF9978 #92EF78 #78CDEF
split-complementary
#D578EF #CDEF78 #78EF99
monochromatic
#AB19D4 #C441E9 #D578EF #E6AFF5 #F6E4FC

Accessibility & contrast

On white

2.71
#D578EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D578EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D578EF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D578EF#FFFFFF#000000##000000
##D578EF1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#D589A9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d578ef;
/* rgb */ color: rgb(213, 120, 239);
/* oklch */ color: oklch(71.9% 0.189 318.5);
Tailwind
colors: {
  custom: {
    50: '#e4a2f4',
    500: '#d578ef',
    950: '#000000',
  },
}
SCSS
$custom: #d578ef;
$custom-light: #e4a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d578ef",
  "rgb": {
    "r": 213,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 286.891,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71937,
    "c": 0.18939,
    "h": 318.5
  },
  "luminance": 0.33811
}

Semantic roles & 50–950 ramp

primary
#D578EF
secondary
#D8F2D1
accent
#DB0A38
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D578EF

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

Preview Lab → · Contrast checker → · Palette generator →

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