#D477DB#D477DB

#D477DB is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.7% C 0.171 H 324.6°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D477DB
RGBrgb(212, 119, 219)
HSLhsl(296, 58%, 66%)
HSVhsv(296, 46%, 86%)
CMYKcmyk(3.2%, 45.7%, 0%, 14.1%)
CIE-LABlab(63.60, 50.99, -36.03)
CIE-LCHlch(63.60, 62.43, 324.76°)
OKLaboklab(70.71% 0.1392 -0.099)
OKLCHoklch(70.71% 0.171 324.6)
XYZxyz(46.5332, 32.3073, 70.7889)
Luminance0.3231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477DB #7EDB77
analogous
#A277DB #D477DB #DB77B0
triadic
#D477DB #DBD477 #77DBD4
tetradic
#D477DB #DBA277 #7EDB77 #77B0DB
square
#D477DB #DBA277 #7EDB77 #77B0DB
split-complementary
#D477DB #B0DB77 #77DBA2
monochromatic
#A22DAA #C547CE #D477DB #E3A7E8 #F3D8F5

Accessibility & contrast

On white

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

On black

7.46
#D477DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477DB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477DB#FFFFFF#000000##000000
##D477DB1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DE
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#D8829F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d477db;
/* rgb */ color: rgb(212, 119, 219);
/* oklch */ color: oklch(70.7% 0.171 324.6);
Tailwind
colors: {
  custom: {
    50: '#e3a1e6',
    500: '#d477db',
    950: '#000000',
  },
}
SCSS
$custom: #d477db;
$custom-light: #e3a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d477db",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 295.8,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70712,
    "c": 0.17081,
    "h": 324.6
  },
  "luminance": 0.32305
}

Semantic roles & 50–950 ramp

primary
#D477DB
secondary
#C9E7C7
accent
#C6202B
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D477DB

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

Preview Lab → · Contrast checker → · Palette generator →

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