#D478CA#D478CA

#D478CA is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.1% C 0.153 H 331.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D478CA
RGBrgb(212, 120, 202)
HSLhsl(307, 52%, 65%)
HSVhsv(307, 43%, 83%)
CMYKcmyk(0%, 43.4%, 4.7%, 16.9%)
CIE-LABlab(63.09, 47.42, -27.27)
CIE-LCHlch(63.09, 54.70, 330.09°)
OKLaboklab(70.11% 0.1344 -0.0741)
OKLCHoklch(70.11% 0.153 331.1)
XYZxyz(44.5281, 31.6967, 59.6383)
Luminance0.3169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478CA #78D482
analogous
#B078D4 #D478CA #D4789C
triadic
#D478CA #CAD478 #78CAD4
tetradic
#D478CA #D4B078 #78D482 #789CD4
square
#D478CA #D4B078 #78D482 #789CD4
split-complementary
#D478CA #9CD478 #78D4B0
monochromatic
#9F3393 #C54AB8 #D478CA #E3A6DC #F2D5EE

Accessibility & contrast

On white

2.86
#D478CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#D478CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478CA
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478CA#FFFFFF#000000##000000
##D478CA1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CD
Deuteranopia (green-blind)
#8E9DC7
Tritanopia (blue-blind)
#DB7E98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d478ca;
/* rgb */ color: rgb(212, 120, 202);
/* oklch */ color: oklch(70.1% 0.153 331.1);
Tailwind
colors: {
  custom: {
    50: '#e3a1da',
    500: '#d478ca',
    950: '#000000',
  },
}
SCSS
$custom: #d478ca;
$custom-light: #e3a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#d478ca",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 306.522,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70106,
    "c": 0.15347,
    "h": 331.1
  },
  "luminance": 0.31694
}

Semantic roles & 50–950 ramp

primary
#D478CA
secondary
#C4E3C8
accent
#BF3726
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#160F15
muted
#847F83

Preview Lab

Preview with #D478CA

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

Preview Lab → · Contrast checker → · Palette generator →

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