#D476FC#D476FC

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

Color values

HEX#D476FC
RGBrgb(212, 118, 252)
HSLhsl(282, 96%, 73%)
HSVhsv(282, 53%, 99%)
CMYKcmyk(15.9%, 53.2%, 0%, 1.2%)
CIE-LABlab(64.95, 57.90, -52.17)
CIE-LCHlch(64.95, 77.94, 317.98°)
OKLaboklab(72.22% 0.1446 -0.1456)
OKLCHoklch(72.22% 0.205 314.8)
XYZxyz(51.1977, 33.9837, 95.9391)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D476FC #9EFC76
analogous
#9176FC #D476FC #FC76E1
triadic
#D476FC #FCD476 #76FCD4
tetradic
#D476FC #FC9176 #9EFC76 #76E1FC
square
#D476FC #FC9176 #9EFC76 #76E1FC
split-complementary
#D476FC #E1FC76 #76FC91
monochromatic
#AC05F2 #C13AFB #D476FC #E7B2FD #F6E1FE

Accessibility & contrast

On white

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

On black

7.80
#D476FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D476FC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D476FC#FFFFFF#000000##000000
##D476FC1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#D18CAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d476fc;
/* rgb */ color: rgb(212, 118, 252);
/* oklch */ color: oklch(72.2% 0.205 314.8);
Tailwind
colors: {
  custom: {
    50: '#e4a1fe',
    500: '#d476fc',
    950: '#000000',
  },
}
SCSS
$custom: #d476fc;
$custom-light: #e4a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d476fc",
  "rgb": {
    "r": 212,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 282.09,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72217,
    "c": 0.20524,
    "h": 314.8
  },
  "luminance": 0.33982
}

Semantic roles & 50–950 ramp

primary
#D476FC
secondary
#DFF7D4
accent
#E60045
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D476FC

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

Preview Lab → · Contrast checker → · Palette generator →

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