#D476F6#D476F6

#D476F6 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.9% C 0.199 H 316.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D476F6
RGBrgb(212, 118, 246)
HSLhsl(284, 88%, 71%)
HSVhsv(284, 52%, 96%)
CMYKcmyk(13.8%, 52%, 0%, 3.5%)
CIE-LABlab(64.65, 56.70, -49.34)
CIE-LCHlch(64.65, 75.16, 318.97°)
OKLaboklab(71.9% 0.1441 -0.1374)
OKLCHoklch(71.9% 0.199 316.4)
XYZxyz(50.2619, 33.6094, 91.0105)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D476F6 #98F676
analogous
#9476F6 #D476F6 #F676D8
triadic
#D476F6 #F6D476 #76F6D4
tetradic
#D476F6 #F69476 #98F676 #76D8F6
square
#D476F6 #F69476 #98F676 #76D8F6
split-complementary
#D476F6 #D8F676 #76F694
monochromatic
#AA0FE3 #C23DF2 #D476F6 #E6AFFA #F6E2FD

Accessibility & contrast

On white

2.72
#D476F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#D476F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D476F6
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D476F6#FFFFFF#000000##000000
##D476F61.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#D38AAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d476f6;
/* rgb */ color: rgb(212, 118, 246);
/* oklch */ color: oklch(71.9% 0.199 316.4);
Tailwind
colors: {
  custom: {
    50: '#e4a1f9',
    500: '#d476f6',
    950: '#000000',
  },
}
SCSS
$custom: #d476f6;
$custom-light: #e4a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d476f6",
  "rgb": {
    "r": 212,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 284.063,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71901,
    "c": 0.19913,
    "h": 316.4
  },
  "luminance": 0.33608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D476F6

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

Preview Lab → · Contrast checker → · Palette generator →

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