#D477FD#D477FD

#D477FD is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.4% C 0.205 H 314.5°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#D477FD
RGBrgb(212, 119, 253)
HSLhsl(282, 97%, 73%)
HSVhsv(282, 53%, 99%)
CMYKcmyk(16.2%, 53%, 0%, 0.8%)
CIE-LABlab(65.19, 57.61, -52.34)
CIE-LCHlch(65.19, 77.84, 317.74°)
OKLaboklab(72.41% 0.1434 -0.1461)
OKLCHoklch(72.41% 0.205 314.5)
XYZxyz(51.4750, 34.2840, 96.8154)
Luminance0.3428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477FD #A0FD77
analogous
#9177FD #D477FD #FD77E3
triadic
#D477FD #FDD477 #77FDD4
tetradic
#D477FD #FD9177 #A0FD77 #77E3FD
square
#D477FD #FD9177 #A0FD77 #77E3FD
split-complementary
#D477FD #E3FD77 #77FD91
monochromatic
#AC04F6 #C13BFC #D477FD #E7B3FE #F5E1FF

Accessibility & contrast

On white

2.67
#D477FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#D477FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477FD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477FD#FFFFFF#000000##000000
##D477FD1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#D18DAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d477fd;
/* rgb */ color: rgb(212, 119, 253);
/* oklch */ color: oklch(72.4% 0.205 314.5);
Tailwind
colors: {
  custom: {
    50: '#e4a1fe',
    500: '#d477fd',
    950: '#000000',
  },
}
SCSS
$custom: #d477fd;
$custom-light: #e4a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d477fd",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 253
  },
  "hsl": {
    "h": 281.642,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72409,
    "c": 0.20475,
    "h": 314.5
  },
  "luminance": 0.34283
}

Semantic roles & 50–950 ramp

primary
#D477FD
secondary
#DFF7D4
accent
#E60046
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D477FD

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

Preview Lab → · Contrast checker → · Palette generator →

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