#D477DC#D477DC

#D477DC is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.172 H 324.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D477DC
RGBrgb(212, 119, 220)
HSLhsl(295, 59%, 66%)
HSVhsv(295, 46%, 86%)
CMYKcmyk(3.6%, 45.9%, 0%, 13.7%)
CIE-LABlab(63.64, 51.17, -36.52)
CIE-LCHlch(63.64, 62.87, 324.49°)
OKLaboklab(70.76% 0.1394 -0.1004)
OKLCHoklch(70.76% 0.172 324.2)
XYZxyz(46.6653, 32.3601, 71.4843)
Luminance0.3236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477DC #7FDC77
analogous
#A277DC #D477DC #DC77B2
triadic
#D477DC #DCD477 #77DCD4
tetradic
#D477DC #DCA277 #7FDC77 #77B2DC
square
#D477DC #DCA277 #7FDC77 #77B2DC
split-complementary
#D477DC #B2DC77 #77DCA2
monochromatic
#A22CAC #C546CF #D477DC #E3A8E9 #F3D8F5

Accessibility & contrast

On white

2.81
#D477DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D477DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477DC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477DC#FFFFFF#000000##000000
##D477DC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93DF
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#D8839F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d477dc;
/* rgb */ color: rgb(212, 119, 220);
/* oklch */ color: oklch(70.8% 0.172 324.2);
Tailwind
colors: {
  custom: {
    50: '#e3a1e7',
    500: '#d477dc',
    950: '#000000',
  },
}
SCSS
$custom: #d477dc;
$custom-light: #e3a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d477dc",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 295.248,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70759,
    "c": 0.17177,
    "h": 324.2
  },
  "luminance": 0.32358
}

Semantic roles & 50–950 ramp

primary
#D477DC
secondary
#CAE8C7
accent
#C71F2C
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D477DC

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

Preview Lab → · Contrast checker → · Palette generator →

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