#D478CC#D478CC

#D478CC is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.2% C 0.155 H 330.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#D478CC
RGBrgb(212, 120, 204)
HSLhsl(305, 52%, 65%)
HSVhsv(305, 43%, 83%)
CMYKcmyk(0%, 43.4%, 3.8%, 16.9%)
CIE-LABlab(63.17, 47.77, -28.28)
CIE-LCHlch(63.17, 55.51, 329.38°)
OKLaboklab(70.19% 0.1349 -0.0769)
OKLCHoklch(70.19% 0.155 330.3)
XYZxyz(44.7664, 31.7920, 60.8935)
Luminance0.3179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478CC #78D480
analogous
#AE78D4 #D478CC #D4789E
triadic
#D478CC #CCD478 #78CCD4
tetradic
#D478CC #D4AE78 #78D480 #789ED4
square
#D478CC #D4AE78 #78D480 #789ED4
split-complementary
#D478CC #9ED478 #78D4AE
monochromatic
#9F3396 #C54ABA #D478CC #E3A6DE #F2D5EF

Accessibility & contrast

On white

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

On black

7.36
#D478CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478CC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478CC#FFFFFF#000000##000000
##D478CC1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491CF
Deuteranopia (green-blind)
#8D9DC9
Tritanopia (blue-blind)
#DA7F99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d478cc;
/* rgb */ color: rgb(212, 120, 204);
/* oklch */ color: oklch(70.2% 0.155 330.3);
Tailwind
colors: {
  custom: {
    50: '#e3a1db',
    500: '#d478cc',
    950: '#000000',
  },
}
SCSS
$custom: #d478cc;
$custom-light: #e3a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d478cc",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 305.217,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70191,
    "c": 0.15524,
    "h": 330.3
  },
  "luminance": 0.3179
}

Semantic roles & 50–950 ramp

primary
#D478CC
secondary
#C4E3C7
accent
#BF3426
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D478CC

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

Preview Lab → · Contrast checker → · Palette generator →

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