#D477CC#D477CC

#D477CC is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.0% C 0.157 H 330.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#D477CC
RGBrgb(212, 119, 204)
HSLhsl(305, 52%, 65%)
HSVhsv(305, 44%, 83%)
CMYKcmyk(0%, 43.9%, 3.8%, 16.9%)
CIE-LABlab(62.97, 48.28, -28.58)
CIE-LCHlch(62.97, 56.11, 329.37°)
OKLaboklab(70.04% 0.1363 -0.0778)
OKLCHoklch(70.04% 0.157 330.3)
XYZxyz(44.6468, 31.5527, 60.8536)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477CC #77D47F
analogous
#AD77D4 #D477CC #D4779E
triadic
#D477CC #CCD477 #77CCD4
tetradic
#D477CC #D4AD77 #77D47F #779ED4
square
#D477CC #D4AD77 #77D47F #779ED4
split-complementary
#D477CC #9ED477 #77D4AD
monochromatic
#9E3295 #C549BB #D477CC #E3A5DD #F1D4EF

Accessibility & contrast

On white

2.87
#D477CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#D477CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477CC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477CC#FFFFFF#000000##000000
##D477CC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CF
Deuteranopia (green-blind)
#8C9DC9
Tritanopia (blue-blind)
#DA7E98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d477cc;
/* rgb */ color: rgb(212, 119, 204);
/* oklch */ color: oklch(70.0% 0.157 330.3);
Tailwind
colors: {
  custom: {
    50: '#e3a1db',
    500: '#d477cc',
    950: '#000000',
  },
}
SCSS
$custom: #d477cc;
$custom-light: #e3a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d477cc",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 305.161,
    "s": 51.955,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70042,
    "c": 0.15693,
    "h": 330.3
  },
  "luminance": 0.3155
}

Semantic roles & 50–950 ramp

primary
#D477CC
secondary
#C4E3C6
accent
#BF3326
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D477CC

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

Preview Lab → · Contrast checker → · Palette generator →

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