#D477E8#D477E8

#D477E8 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.183 H 320.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#D477E8
RGBrgb(212, 119, 232)
HSLhsl(289, 71%, 69%)
HSVhsv(289, 49%, 91%)
CMYKcmyk(8.6%, 48.7%, 0%, 9%)
CIE-LABlab(64.18, 53.45, -42.35)
CIE-LCHlch(64.18, 68.19, 321.60°)
OKLaboklab(71.33% 0.1412 -0.1172)
OKLCHoklch(71.33% 0.183 320.3)
XYZxyz(48.3119, 33.0188, 80.1567)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477E8 #8BE877
analogous
#9C77E8 #D477E8 #E877C3
triadic
#D477E8 #E8D477 #77E8D4
tetradic
#D477E8 #E89C77 #8BE877 #77C3E8
square
#D477E8 #E89C77 #8BE877 #77C3E8
split-complementary
#D477E8 #C3E877 #77E89C
monochromatic
#A721C4 #C343DF #D477E8 #E5ABF1 #F5E0FA

Accessibility & contrast

On white

2.76
#D477E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#D477E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477E8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477E8#FFFFFF#000000##000000
##D477E81.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EC
Deuteranopia (green-blind)
#809FE5
Tritanopia (blue-blind)
#D586A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d477e8;
/* rgb */ color: rgb(212, 119, 232);
/* oklch */ color: oklch(71.3% 0.183 320.3);
Tailwind
colors: {
  custom: {
    50: '#e3a1f0',
    500: '#d477e8',
    950: '#000000',
  },
}
SCSS
$custom: #d477e8;
$custom-light: #e3a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d477e8",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 232
  },
  "hsl": {
    "h": 289.381,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71333,
    "c": 0.18348,
    "h": 320.3
  },
  "luminance": 0.33017
}

Semantic roles & 50–950 ramp

primary
#D477E8
secondary
#D3EECD
accent
#D31235
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D477E8

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

Preview Lab → · Contrast checker → · Palette generator →

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