#D478CF#D478CF

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

Color values

HEX#D478CF
RGBrgb(212, 120, 207)
HSLhsl(303, 52%, 65%)
HSVhsv(303, 43%, 83%)
CMYKcmyk(0%, 43.4%, 2.4%, 16.9%)
CIE-LABlab(63.29, 48.30, -29.78)
CIE-LCHlch(63.29, 56.74, 328.35°)
OKLaboklab(70.32% 0.1355 -0.0811)
OKLCHoklch(70.32% 0.158 329.1)
XYZxyz(45.1297, 31.9373, 62.8068)
Luminance0.3194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478CF #78D47D
analogous
#AB78D4 #D478CF #D478A1
triadic
#D478CF #CFD478 #78CFD4
tetradic
#D478CF #D4AB78 #78D47D #78A1D4
square
#D478CF #D4AB78 #78D47D #78A1D4
split-complementary
#D478CF #A1D478 #78D4AB
monochromatic
#9F3399 #C54ABE #D478CF #E3A6E0 #F2D5F0

Accessibility & contrast

On white

2.84
#D478CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D478CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478CF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478CF#FFFFFF#000000##000000
##D478CF1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D2
Deuteranopia (green-blind)
#8C9ECC
Tritanopia (blue-blind)
#DA809A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d478cf;
/* rgb */ color: rgb(212, 120, 207);
/* oklch */ color: oklch(70.3% 0.158 329.1);
Tailwind
colors: {
  custom: {
    50: '#e3a1de',
    500: '#d478cf',
    950: '#000000',
  },
}
SCSS
$custom: #d478cf;
$custom-light: #e3a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#d478cf",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 303.261,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.7032,
    "c": 0.15794,
    "h": 329.1
  },
  "luminance": 0.31935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D478CF

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

Preview Lab → · Contrast checker → · Palette generator →

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