#D478DB#D478DB

#D478DB is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.9% C 0.169 H 324.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D478DB
RGBrgb(212, 120, 219)
HSLhsl(296, 58%, 66%)
HSVhsv(296, 45%, 86%)
CMYKcmyk(3.2%, 45.2%, 0%, 14.1%)
CIE-LABlab(63.79, 50.48, -35.72)
CIE-LCHlch(63.79, 61.84, 324.72°)
OKLaboklab(70.86% 0.1378 -0.0981)
OKLCHoklch(70.86% 0.169 324.6)
XYZxyz(46.6529, 32.5466, 70.8288)
Luminance0.3254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478DB #7FDB78
analogous
#A378DB #D478DB #DB78B1
triadic
#D478DB #DBD478 #78DBD4
tetradic
#D478DB #DBA378 #7FDB78 #78B1DB
square
#D478DB #DBA378 #7FDB78 #78B1DB
split-complementary
#D478DB #B1DB78 #78DBA3
monochromatic
#A22EAB #C548CE #D478DB #E3A8E8 #F3D9F5

Accessibility & contrast

On white

2.80
#D478DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D478DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478DB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478DB#FFFFFF#000000##000000
##D478DB1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DE
Deuteranopia (green-blind)
#879ED8
Tritanopia (blue-blind)
#D8839F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d478db;
/* rgb */ color: rgb(212, 120, 219);
/* oklch */ color: oklch(70.9% 0.169 324.6);
Tailwind
colors: {
  custom: {
    50: '#e3a2e6',
    500: '#d478db',
    950: '#000000',
  },
}
SCSS
$custom: #d478db;
$custom-light: #e3a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d478db",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 295.758,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70858,
    "c": 0.16915,
    "h": 324.6
  },
  "luminance": 0.32544
}

Semantic roles & 50–950 ramp

primary
#D478DB
secondary
#CAE7C7
accent
#C5202C
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D478DB

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

Preview Lab → · Contrast checker → · Palette generator →

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