#D477C8#D477C8

#D477C8 is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.9% C 0.153 H 332.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#D477C8
RGBrgb(212, 119, 200)
HSLhsl(308, 52%, 65%)
HSVhsv(308, 44%, 83%)
CMYKcmyk(0%, 43.9%, 5.7%, 16.9%)
CIE-LABlab(62.81, 47.58, -26.58)
CIE-LCHlch(62.81, 54.50, 330.82°)
OKLaboklab(69.87% 0.1354 -0.0721)
OKLCHoklch(69.87% 0.153 332)
XYZxyz(44.1732, 31.3633, 58.3594)
Luminance0.3136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477C8 #77D483
analogous
#B277D4 #D477C8 #D4779A
triadic
#D477C8 #C8D477 #77C8D4
tetradic
#D477C8 #D4B277 #77D483 #779AD4
square
#D477C8 #D4B277 #77D483 #779AD4
split-complementary
#D477C8 #9AD477 #77D4B2
monochromatic
#9E3291 #C549B5 #D477C8 #E3A5DB #F1D4EE

Accessibility & contrast

On white

2.89
#D477C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#D477C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477C8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477C8#FFFFFF#000000##000000
##D477C81.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CB
Deuteranopia (green-blind)
#8E9DC5
Tritanopia (blue-blind)
#DB7D96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d477c8;
/* rgb */ color: rgb(212, 119, 200);
/* oklch */ color: oklch(69.9% 0.153 332.0);
Tailwind
colors: {
  custom: {
    50: '#e3a1d9',
    500: '#d477c8',
    950: '#000000',
  },
}
SCSS
$custom: #d477c8;
$custom-light: #e3a1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d477c8",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 200
  },
  "hsl": {
    "h": 307.742,
    "s": 51.955,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69872,
    "c": 0.15341,
    "h": 332
  },
  "luminance": 0.31361
}

Semantic roles & 50–950 ramp

primary
#D477C8
secondary
#C4E3C8
accent
#BF3A26
background
#FEFAFD
surface
#FCF3FA
border
#D5CDD3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D477C8

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

Preview Lab → · Contrast checker → · Palette generator →

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