#D577EC#D577EC

#D577EC is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.6% C 0.188 H 319.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#D577EC
RGBrgb(213, 119, 236)
HSLhsl(288, 75%, 70%)
HSVhsv(288, 50%, 93%)
CMYKcmyk(9.7%, 49.6%, 0%, 7.5%)
CIE-LABlab(64.48, 54.49, -44.08)
CIE-LCHlch(64.48, 70.09, 321.03°)
OKLaboklab(71.65% 0.1429 -0.1221)
OKLCHoklch(71.65% 0.188 319.5)
XYZxyz(49.1758, 33.3978, 83.1967)
Luminance0.3340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D577EC #8EEC77
analogous
#9B77EC #D577EC #EC77C9
triadic
#D577EC #ECD577 #77ECD5
tetradic
#D577EC #EC9B77 #8EEC77 #77C9EC
square
#D577EC #EC9B77 #8EEC77 #77C9EC
split-complementary
#D577EC #C9EC77 #77EC9B
monochromatic
#AA1DCC #C441E4 #D577EC #E6ADF4 #F6E2FB

Accessibility & contrast

On white

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

On black

7.68
#D577EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D577EC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D577EC#FFFFFF#000000##000000
##D577EC1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#7FA0E9
Tritanopia (blue-blind)
#D687A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d577ec;
/* rgb */ color: rgb(213, 119, 236);
/* oklch */ color: oklch(71.6% 0.188 319.5);
Tailwind
colors: {
  custom: {
    50: '#e4a1f2',
    500: '#d577ec',
    950: '#000000',
  },
}
SCSS
$custom: #d577ec;
$custom-light: #e4a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d577ec",
  "rgb": {
    "r": 213,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 288.205,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71645,
    "c": 0.18797,
    "h": 319.5
  },
  "luminance": 0.33396
}

Semantic roles & 50–950 ramp

primary
#D577EC
secondary
#D5F0CF
accent
#D80E36
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D577EC

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

Preview Lab → · Contrast checker → · Palette generator →

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