#D478CB#D478CB

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

Color values

HEX#D478CB
RGBrgb(212, 120, 203)
HSLhsl(306, 52%, 65%)
HSVhsv(306, 43%, 83%)
CMYKcmyk(0%, 43.4%, 4.2%, 16.9%)
CIE-LABlab(63.13, 47.59, -27.78)
CIE-LCHlch(63.13, 55.11, 329.73°)
OKLaboklab(70.15% 0.1346 -0.0755)
OKLCHoklch(70.15% 0.154 330.7)
XYZxyz(44.6469, 31.7442, 60.2639)
Luminance0.3174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478CB #78D481
analogous
#AF78D4 #D478CB #D4789D
triadic
#D478CB #CBD478 #78CBD4
tetradic
#D478CB #D4AF78 #78D481 #789DD4
square
#D478CB #D4AF78 #78D481 #789DD4
split-complementary
#D478CB #9DD478 #78D4AF
monochromatic
#9F3394 #C54AB9 #D478CB #E3A6DD #F2D5EF

Accessibility & contrast

On white

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

On black

7.35
#D478CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478CB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478CB#FFFFFF#000000##000000
##D478CB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491CE
Deuteranopia (green-blind)
#8D9DC8
Tritanopia (blue-blind)
#DB7F98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d478cb;
/* rgb */ color: rgb(212, 120, 203);
/* oklch */ color: oklch(70.1% 0.154 330.7);
Tailwind
colors: {
  custom: {
    50: '#e3a1db',
    500: '#d478cb',
    950: '#000000',
  },
}
SCSS
$custom: #d478cb;
$custom-light: #e3a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d478cb",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 305.87,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70148,
    "c": 0.15435,
    "h": 330.7
  },
  "luminance": 0.31742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D478CB

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

Preview Lab → · Contrast checker → · Palette generator →

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