#D477EA#D477EA

#D477EA is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.4% C 0.185 H 319.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D477EA
RGBrgb(212, 119, 234)
HSLhsl(289, 73%, 69%)
HSVhsv(289, 49%, 92%)
CMYKcmyk(9.4%, 49.1%, 0%, 8.2%)
CIE-LABlab(64.27, 53.83, -43.32)
CIE-LCHlch(64.27, 69.10, 321.18°)
OKLaboklab(71.43% 0.1415 -0.1199)
OKLCHoklch(71.43% 0.185 319.7)
XYZxyz(48.5976, 33.1331, 81.6614)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477EA #8DEA77
analogous
#9B77EA #D477EA #EA77C6
triadic
#D477EA #EAD477 #77EAD4
tetradic
#D477EA #EA9B77 #8DEA77 #77C6EA
square
#D477EA #EA9B77 #8DEA77 #77C6EA
split-complementary
#D477EA #C6EA77 #77EA9B
monochromatic
#A71FC8 #C342E2 #D477EA #E5ACF2 #F6E1FA

Accessibility & contrast

On white

2.75
#D477EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D477EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477EA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477EA#FFFFFF#000000##000000
##D477EA1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#D587A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d477ea;
/* rgb */ color: rgb(212, 119, 234);
/* oklch */ color: oklch(71.4% 0.185 319.7);
Tailwind
colors: {
  custom: {
    50: '#e3a1f1',
    500: '#d477ea',
    950: '#000000',
  },
}
SCSS
$custom: #d477ea;
$custom-light: #e3a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d477ea",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 288.522,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71431,
    "c": 0.18548,
    "h": 319.7
  },
  "luminance": 0.33131
}

Semantic roles & 50–950 ramp

primary
#D477EA
secondary
#D4EFCE
accent
#D51036
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D477EA

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

Preview Lab → · Contrast checker → · Palette generator →

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