#D477F4#D477F4

#D477F4 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.9% C 0.196 H 316.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D477F4
RGBrgb(212, 119, 244)
HSLhsl(285, 85%, 71%)
HSVhsv(285, 51%, 96%)
CMYKcmyk(13.1%, 51.2%, 0%, 4.3%)
CIE-LABlab(64.74, 55.80, -48.10)
CIE-LCHlch(64.74, 73.67, 319.24°)
OKLaboklab(71.94% 0.1426 -0.1338)
OKLCHoklch(71.94% 0.196 316.8)
XYZxyz(50.0750, 33.7240, 89.4420)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477F4 #97F477
analogous
#9577F4 #D477F4 #F477D5
triadic
#D477F4 #F4D477 #77F4D4
tetradic
#D477F4 #F49577 #97F477 #77D5F4
square
#D477F4 #F49577 #97F477 #77D5F4
split-complementary
#D477F4 #D5F477 #77F495
monochromatic
#AA12DF #C23EEF #D477F4 #E6B0F9 #F6E3FD

Accessibility & contrast

On white

2.71
#D477F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#D477F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477F4
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477F4#FFFFFF#000000##000000
##D477F41.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D97F8
Deuteranopia (green-blind)
#7AA0F1
Tritanopia (blue-blind)
#D38AAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d477f4;
/* rgb */ color: rgb(212, 119, 244);
/* oklch */ color: oklch(71.9% 0.196 316.8);
Tailwind
colors: {
  custom: {
    50: '#e4a1f8',
    500: '#d477f4',
    950: '#000000',
  },
}
SCSS
$custom: #d477f4;
$custom-light: #e4a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d477f4",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 244
  },
  "hsl": {
    "h": 284.64,
    "s": 85.034,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71937,
    "c": 0.19555,
    "h": 316.8
  },
  "luminance": 0.33722
}

Semantic roles & 50–950 ramp

primary
#D477F4
secondary
#DBF4D3
accent
#E2043D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D477F4

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

Preview Lab → · Contrast checker → · Palette generator →

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