#D477F9#D477F9

#D477F9 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.2% C 0.201 H 315.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#D477F9
RGBrgb(212, 119, 249)
HSLhsl(283, 92%, 72%)
HSVhsv(283, 52%, 98%)
CMYKcmyk(14.9%, 52.2%, 0%, 2.4%)
CIE-LABlab(64.99, 56.80, -50.46)
CIE-LCHlch(64.99, 75.98, 318.38°)
OKLaboklab(72.2% 0.1431 -0.1406)
OKLCHoklch(72.2% 0.201 315.5)
XYZxyz(50.8444, 34.0318, 93.4946)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477F9 #9CF977
analogous
#9377F9 #D477F9 #F977DD
triadic
#D477F9 #F9D477 #77F9D4
tetradic
#D477F9 #F99377 #9CF977 #77DDF9
square
#D477F9 #F99377 #9CF977 #77DDF9
split-complementary
#D477F9 #DDF977 #77F993
monochromatic
#AB0AEB #C13CF6 #D477F9 #E7B2FC #F6E2FE

Accessibility & contrast

On white

2.69
#D477F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#D477F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477F9
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477F9#FFFFFF#000000##000000
##D477F91.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FD
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#D28BAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d477f9;
/* rgb */ color: rgb(212, 119, 249);
/* oklch */ color: oklch(72.2% 0.201 315.5);
Tailwind
colors: {
  custom: {
    50: '#e4a1fc',
    500: '#d477f9',
    950: '#000000',
  },
}
SCSS
$custom: #d477f9;
$custom-light: #e4a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d477f9",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 282.923,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72197,
    "c": 0.20065,
    "h": 315.5
  },
  "luminance": 0.3403
}

Semantic roles & 50–950 ramp

primary
#D477F9
secondary
#DEF6D5
accent
#E60041
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D477F9

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

Preview Lab → · Contrast checker → · Palette generator →

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