#D476DC#D476DC

#D476DC is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.6% C 0.173 H 324.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D476DC
RGBrgb(212, 118, 220)
HSLhsl(295, 59%, 66%)
HSVhsv(295, 46%, 86%)
CMYKcmyk(3.6%, 46.4%, 0%, 13.7%)
CIE-LABlab(63.44, 51.68, -36.82)
CIE-LCHlch(63.44, 63.45, 324.53°)
OKLaboklab(70.61% 0.1408 -0.1012)
OKLCHoklch(70.61% 0.173 324.3)
XYZxyz(46.5469, 32.1234, 71.4449)
Luminance0.3212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D476DC #7EDC76
analogous
#A176DC #D476DC #DC76B1
triadic
#D476DC #DCD476 #76DCD4
tetradic
#D476DC #DCA176 #7EDC76 #76B1DC
square
#D476DC #DCA176 #7EDC76 #76B1DC
split-complementary
#D476DC #B1DC76 #76DCA1
monochromatic
#A22CAC #C545D0 #D476DC #E3A7E8 #F3D7F5

Accessibility & contrast

On white

2.83
#D476DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D476DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D476DC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D476DC#FFFFFF#000000##000000
##D476DC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DF
Deuteranopia (green-blind)
#859ED9
Tritanopia (blue-blind)
#D8829F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d476dc;
/* rgb */ color: rgb(212, 118, 220);
/* oklch */ color: oklch(70.6% 0.173 324.3);
Tailwind
colors: {
  custom: {
    50: '#e3a0e7',
    500: '#d476dc',
    950: '#000000',
  },
}
SCSS
$custom: #d476dc;
$custom-light: #e3a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d476dc",
  "rgb": {
    "r": 212,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 295.294,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70614,
    "c": 0.17341,
    "h": 324.3
  },
  "luminance": 0.32121
}

Semantic roles & 50–950 ramp

primary
#D476DC
secondary
#C9E8C6
accent
#C71F2C
background
#FEFAFE
surface
#FCF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D476DC

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

Preview Lab → · Contrast checker → · Palette generator →

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