#D478CD#D478CD

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

Color values

HEX#D478CD
RGBrgb(212, 120, 205)
HSLhsl(305, 52%, 65%)
HSVhsv(305, 43%, 83%)
CMYKcmyk(0%, 43.4%, 3.3%, 16.9%)
CIE-LABlab(63.21, 47.95, -28.78)
CIE-LCHlch(63.21, 55.92, 329.03°)
OKLaboklab(70.23% 0.1351 -0.0783)
OKLCHoklch(70.23% 0.156 329.9)
XYZxyz(44.8867, 31.8401, 61.5272)
Luminance0.3184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478CD #78D47F
analogous
#AD78D4 #D478CD #D4789F
triadic
#D478CD #CDD478 #78CDD4
tetradic
#D478CD #D4AD78 #78D47F #789FD4
square
#D478CD #D4AD78 #78D47F #789FD4
split-complementary
#D478CD #9FD478 #78D4AD
monochromatic
#9F3397 #C54ABC #D478CD #E3A6DE #F2D5EF

Accessibility & contrast

On white

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

On black

7.37
#D478CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478CD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478CD#FFFFFF#000000##000000
##D478CD1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D0
Deuteranopia (green-blind)
#8D9ECA
Tritanopia (blue-blind)
#DA7F99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d478cd;
/* rgb */ color: rgb(212, 120, 205);
/* oklch */ color: oklch(70.2% 0.156 329.9);
Tailwind
colors: {
  custom: {
    50: '#e3a1dc',
    500: '#d478cd',
    950: '#000000',
  },
}
SCSS
$custom: #d478cd;
$custom-light: #e3a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d478cd",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 304.565,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70234,
    "c": 0.15614,
    "h": 329.9
  },
  "luminance": 0.31838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D478CD

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

Preview Lab → · Contrast checker → · Palette generator →

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