#D476F2#D476F2

#D476F2 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.7% C 0.195 H 317.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D476F2
RGBrgb(212, 118, 242)
HSLhsl(285, 83%, 71%)
HSVhsv(285, 51%, 95%)
CMYKcmyk(12.4%, 51.2%, 0%, 5.1%)
CIE-LABlab(64.46, 55.90, -47.45)
CIE-LCHlch(64.46, 73.32, 319.68°)
OKLaboklab(71.69% 0.1438 -0.1319)
OKLCHoklch(71.69% 0.195 317.5)
XYZxyz(49.6546, 33.3664, 87.8119)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D476F2 #94F276
analogous
#9676F2 #D476F2 #F276D2
triadic
#D476F2 #F2D476 #76F2D4
tetradic
#D476F2 #F29676 #94F276 #76D2F2
square
#D476F2 #F29676 #94F276 #76D2F2
split-complementary
#D476F2 #D2F276 #76F296
monochromatic
#A915D9 #C23EED #D476F2 #E6AEF7 #F6E3FC

Accessibility & contrast

On white

2.74
#D476F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D476F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D476F2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D476F2#FFFFFF#000000##000000
##D476F21.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#7A9FEF
Tritanopia (blue-blind)
#D388A9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d476f2;
/* rgb */ color: rgb(212, 118, 242);
/* oklch */ color: oklch(71.7% 0.195 317.5);
Tailwind
colors: {
  custom: {
    50: '#e4a1f7',
    500: '#d476f2',
    950: '#000000',
  },
}
SCSS
$custom: #d476f2;
$custom-light: #e4a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d476f2",
  "rgb": {
    "r": 212,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 285.484,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71694,
    "c": 0.19508,
    "h": 317.5
  },
  "luminance": 0.33365
}

Semantic roles & 50–950 ramp

primary
#D476F2
secondary
#D9F3D1
accent
#DF063B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D476F2

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

Preview Lab → · Contrast checker → · Palette generator →

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