#D478DC#D478DC

#D478DC is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.170 H 324.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D478DC
RGBrgb(212, 120, 220)
HSLhsl(295, 59%, 67%)
HSVhsv(295, 45%, 86%)
CMYKcmyk(3.6%, 45.5%, 0%, 13.7%)
CIE-LABlab(63.84, 50.67, -36.21)
CIE-LCHlch(63.84, 62.28, 324.45°)
OKLaboklab(70.9% 0.138 -0.0995)
OKLCHoklch(70.9% 0.17 324.2)
XYZxyz(46.7849, 32.5994, 71.5242)
Luminance0.3260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478DC #80DC78
analogous
#A278DC #D478DC #DC78B2
triadic
#D478DC #DCD478 #78DCD4
tetradic
#D478DC #DCA278 #80DC78 #78B2DC
square
#D478DC #DCA278 #80DC78 #78B2DC
split-complementary
#D478DC #B2DC78 #78DCA2
monochromatic
#A32DAD #C547CF #D478DC #E3A9E9 #F3D9F5

Accessibility & contrast

On white

2.79
#D478DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#D478DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478DC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478DC#FFFFFF#000000##000000
##D478DC1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C94DF
Deuteranopia (green-blind)
#869FD9
Tritanopia (blue-blind)
#D883A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d478dc;
/* rgb */ color: rgb(212, 120, 220);
/* oklch */ color: oklch(70.9% 0.170 324.2);
Tailwind
colors: {
  custom: {
    50: '#e3a2e7',
    500: '#d478dc',
    950: '#000000',
  },
}
SCSS
$custom: #d478dc;
$custom-light: #e3a2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d478dc",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 295.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70904,
    "c": 0.17012,
    "h": 324.2
  },
  "luminance": 0.32597
}

Semantic roles & 50–950 ramp

primary
#D478DC
secondary
#CAE8C8
accent
#C61F2C
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D478DC

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

Preview Lab → · Contrast checker → · Palette generator →

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