#D478CE#D478CE

#D478CE is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.3% C 0.157 H 329.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#D478CE
RGBrgb(212, 120, 206)
HSLhsl(304, 52%, 65%)
HSVhsv(304, 43%, 83%)
CMYKcmyk(0%, 43.4%, 2.8%, 16.9%)
CIE-LABlab(63.25, 48.12, -29.28)
CIE-LCHlch(63.25, 56.33, 328.68°)
OKLaboklab(70.28% 0.1353 -0.0797)
OKLCHoklch(70.28% 0.157 329.5)
XYZxyz(45.0078, 31.8886, 62.1650)
Luminance0.3189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478CE #78D47E
analogous
#AC78D4 #D478CE #D478A0
triadic
#D478CE #CED478 #78CED4
tetradic
#D478CE #D4AC78 #78D47E #78A0D4
square
#D478CE #D4AC78 #78D47E #78A0D4
split-complementary
#D478CE #A0D478 #78D4AC
monochromatic
#9F3398 #C54ABD #D478CE #E3A6DF #F2D5F0

Accessibility & contrast

On white

2.85
#D478CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#D478CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478CE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478CE#FFFFFF#000000##000000
##D478CE1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D1
Deuteranopia (green-blind)
#8C9ECB
Tritanopia (blue-blind)
#DA8099
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d478ce;
/* rgb */ color: rgb(212, 120, 206);
/* oklch */ color: oklch(70.3% 0.157 329.5);
Tailwind
colors: {
  custom: {
    50: '#e3a1dd',
    500: '#d478ce',
    950: '#000000',
  },
}
SCSS
$custom: #d478ce;
$custom-light: #e3a1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d478ce",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 303.913,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70277,
    "c": 0.15704,
    "h": 329.5
  },
  "luminance": 0.31886
}

Semantic roles & 50–950 ramp

primary
#D478CE
secondary
#C4E3C6
accent
#BF3026
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D478CE

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

Preview Lab → · Contrast checker → · Palette generator →

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