#D477CB#D477CB

#D477CB is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.0% C 0.156 H 330.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D477CB
RGBrgb(212, 119, 203)
HSLhsl(306, 52%, 65%)
HSVhsv(306, 44%, 83%)
CMYKcmyk(0%, 43.9%, 4.2%, 16.9%)
CIE-LABlab(62.93, 48.11, -28.08)
CIE-LCHlch(62.93, 55.70, 329.72°)
OKLaboklab(70% 0.1361 -0.0763)
OKLCHoklch(70% 0.156 330.7)
XYZxyz(44.5272, 31.5049, 60.2240)
Luminance0.3150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477CB #77D480
analogous
#AE77D4 #D477CB #D4779D
triadic
#D477CB #CBD477 #77CBD4
tetradic
#D477CB #D4AE77 #77D480 #779DD4
square
#D477CB #D4AE77 #77D480 #779DD4
split-complementary
#D477CB #9DD477 #77D4AE
monochromatic
#9E3294 #C549B9 #D477CB #E3A5DD #F1D4EF

Accessibility & contrast

On white

2.88
#D477CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D477CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477CB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477CB#FFFFFF#000000##000000
##D477CB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CE
Deuteranopia (green-blind)
#8D9DC8
Tritanopia (blue-blind)
#DB7E98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d477cb;
/* rgb */ color: rgb(212, 119, 203);
/* oklch */ color: oklch(70.0% 0.156 330.7);
Tailwind
colors: {
  custom: {
    50: '#e3a1db',
    500: '#d477cb',
    950: '#000000',
  },
}
SCSS
$custom: #d477cb;
$custom-light: #e3a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d477cb",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 305.806,
    "s": 51.955,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69999,
    "c": 0.15605,
    "h": 330.7
  },
  "luminance": 0.31502
}

Semantic roles & 50–950 ramp

primary
#D477CB
secondary
#C4E3C7
accent
#BF3526
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D477CB

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

Preview Lab → · Contrast checker → · Palette generator →

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