#D477F6#D477F6

#D477F6 is a light, vivid purple. Relative luminance 0.338; OKLCH L 72.0% C 0.198 H 316.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#D477F6
RGBrgb(212, 119, 246)
HSLhsl(284, 88%, 72%)
HSVhsv(284, 52%, 96%)
CMYKcmyk(13.8%, 51.6%, 0%, 3.5%)
CIE-LABlab(64.84, 56.20, -49.04)
CIE-LCHlch(64.84, 74.59, 318.89°)
OKLaboklab(72.04% 0.1428 -0.1365)
OKLCHoklch(72.04% 0.198 316.3)
XYZxyz(50.3803, 33.8461, 91.0500)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477F6 #99F677
analogous
#9577F6 #D477F6 #F677D9
triadic
#D477F6 #F6D477 #77F6D4
tetradic
#D477F6 #F69577 #99F677 #77D9F6
square
#D477F6 #F69577 #99F677 #77D9F6
split-complementary
#D477F6 #D9F677 #77F695
monochromatic
#AB0FE4 #C23EF2 #D477F6 #E6B0FA #F6E2FD

Accessibility & contrast

On white

2.70
#D477F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#D477F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477F6
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477F6#FFFFFF#000000##000000
##D477F61.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FA
Deuteranopia (green-blind)
#79A0F3
Tritanopia (blue-blind)
#D28AAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d477f6;
/* rgb */ color: rgb(212, 119, 246);
/* oklch */ color: oklch(72.0% 0.198 316.3);
Tailwind
colors: {
  custom: {
    50: '#e4a1f9',
    500: '#d477f6',
    950: '#000000',
  },
}
SCSS
$custom: #d477f6;
$custom-light: #e4a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d477f6",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 283.937,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7204,
    "c": 0.19759,
    "h": 316.3
  },
  "luminance": 0.33845
}

Semantic roles & 50–950 ramp

primary
#D477F6
secondary
#DDF5D4
accent
#E4013E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D477F6

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

Preview Lab → · Contrast checker → · Palette generator →

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