#D476F7#D476F7

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

Color values

HEX#D476F7
RGBrgb(212, 118, 247)
HSLhsl(284, 89%, 72%)
HSVhsv(284, 52%, 97%)
CMYKcmyk(14.2%, 52.2%, 0%, 3.1%)
CIE-LABlab(64.70, 56.90, -49.82)
CIE-LCHlch(64.70, 75.62, 318.80°)
OKLaboklab(71.95% 0.1442 -0.1388)
OKLCHoklch(71.95% 0.2 316.1)
XYZxyz(50.4158, 33.6709, 91.8210)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D476F7 #99F776
analogous
#9476F7 #D476F7 #F776DA
triadic
#D476F7 #F7D476 #76F7D4
tetradic
#D476F7 #F79476 #99F776 #76DAF7
square
#D476F7 #F79476 #99F776 #76DAF7
split-complementary
#D476F7 #DAF776 #76F794
monochromatic
#AB0DE5 #C23CF4 #D476F7 #E6B0FA #F6E2FD

Accessibility & contrast

On white

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

On black

7.73
#D476F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D476F7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D476F7#FFFFFF#000000##000000
##D476F71.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#D28AAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d476f7;
/* rgb */ color: rgb(212, 118, 247);
/* oklch */ color: oklch(72.0% 0.200 316.1);
Tailwind
colors: {
  custom: {
    50: '#e4a1fa',
    500: '#d476f7',
    950: '#000000',
  },
}
SCSS
$custom: #d476f7;
$custom-light: #e4a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d476f7",
  "rgb": {
    "r": 212,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 283.721,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71953,
    "c": 0.20014,
    "h": 316.1
  },
  "luminance": 0.33669
}

Semantic roles & 50–950 ramp

primary
#D476F7
secondary
#DDF5D4
accent
#E6003E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D476F7

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

Preview Lab → · Contrast checker → · Palette generator →

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