#D476F8#D476F8

#D476F8 is a light, highly saturated purple. Relative luminance 0.337; OKLCH L 72.0% C 0.201 H 315.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#D476F8
RGBrgb(212, 118, 248)
HSLhsl(283, 90%, 72%)
HSVhsv(283, 52%, 97%)
CMYKcmyk(14.5%, 52.4%, 0%, 2.7%)
CIE-LABlab(64.75, 57.10, -50.29)
CIE-LCHlch(64.75, 76.08, 318.63°)
OKLaboklab(72.01% 0.1443 -0.1401)
OKLCHoklch(72.01% 0.201 315.8)
XYZxyz(50.5705, 33.7328, 92.6359)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D476F8 #9AF876
analogous
#9376F8 #D476F8 #F876DB
triadic
#D476F8 #F8D476 #76F8D4
tetradic
#D476F8 #F89376 #9AF876 #76DBF8
square
#D476F8 #F89376 #9AF876 #76DBF8
split-complementary
#D476F8 #DBF876 #76F893
monochromatic
#AB0CE8 #C23CF5 #D476F8 #E6B0FB #F6E2FE

Accessibility & contrast

On white

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

On black

7.75
#D476F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D476F8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D476F8#FFFFFF#000000##000000
##D476F81.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#D28AAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d476f8;
/* rgb */ color: rgb(212, 118, 248);
/* oklch */ color: oklch(72.0% 0.201 315.8);
Tailwind
colors: {
  custom: {
    50: '#e4a1fb',
    500: '#d476f8',
    950: '#000000',
  },
}
SCSS
$custom: #d476f8;
$custom-light: #e4a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d476f8",
  "rgb": {
    "r": 212,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 283.385,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72006,
    "c": 0.20117,
    "h": 315.8
  },
  "luminance": 0.33731
}

Semantic roles & 50–950 ramp

primary
#D476F8
secondary
#DEF5D4
accent
#E60040
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D476F8

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

Preview Lab → · Contrast checker → · Palette generator →

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