#D477FB#D477FB

#D477FB is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.3% C 0.203 H 315.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#D477FB
RGBrgb(212, 119, 251)
HSLhsl(282, 94%, 73%)
HSVhsv(282, 53%, 98%)
CMYKcmyk(15.5%, 52.6%, 0%, 1.6%)
CIE-LABlab(65.09, 57.21, -51.40)
CIE-LCHlch(65.09, 76.91, 318.06°)
OKLaboklab(72.3% 0.1433 -0.1434)
OKLCHoklch(72.3% 0.203 315)
XYZxyz(51.1580, 34.1572, 95.1462)
Luminance0.3416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477FB #9EFB77
analogous
#9277FB #D477FB #FB77E0
triadic
#D477FB #FBD477 #77FBD4
tetradic
#D477FB #FB9277 #9EFB77 #77E0FB
square
#D477FB #FB9277 #9EFB77 #77E0FB
split-complementary
#D477FB #E0FB77 #77FB92
monochromatic
#AC07F1 #C13CF9 #D477FB #E7B2FD #F6E1FE

Accessibility & contrast

On white

2.68
#D477FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#D477FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477FB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477FB#FFFFFF#000000##000000
##D477FB1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#D18CAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d477fb;
/* rgb */ color: rgb(212, 119, 251);
/* oklch */ color: oklch(72.3% 0.203 315.0);
Tailwind
colors: {
  custom: {
    50: '#e4a1fd',
    500: '#d477fb',
    950: '#000000',
  },
}
SCSS
$custom: #d477fb;
$custom-light: #e4a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d477fb",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 282.273,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72302,
    "c": 0.20269,
    "h": 315
  },
  "luminance": 0.34156
}

Semantic roles & 50–950 ramp

primary
#D477FB
secondary
#DFF6D5
accent
#E60044
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D477FB

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

Preview Lab → · Contrast checker → · Palette generator →

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