#D478DF#D478DF

#D478DF is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.0% C 0.173 H 323.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D478DF
RGBrgb(212, 120, 223)
HSLhsl(294, 62%, 67%)
HSVhsv(294, 46%, 87%)
CMYKcmyk(4.9%, 46.2%, 0%, 12.5%)
CIE-LABlab(63.97, 51.23, -37.68)
CIE-LCHlch(63.97, 63.59, 323.66°)
OKLaboklab(71.04% 0.1385 -0.1037)
OKLCHoklch(71.04% 0.173 323.2)
XYZxyz(47.1858, 32.7598, 73.6355)
Luminance0.3276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478DF #83DF78
analogous
#A078DF #D478DF #DF78B7
triadic
#D478DF #DFD478 #78DFD4
tetradic
#D478DF #DFA078 #83DF78 #78B7DF
square
#D478DF #DFA078 #83DF78 #78B7DF
split-complementary
#D478DF #B7DF78 #78DFA0
monochromatic
#A42AB2 #C447D3 #D478DF #E4A9EB #F4DBF6

Accessibility & contrast

On white

2.78
#D478DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D478DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478DF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478DF#FFFFFF#000000##000000
##D478DF1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E3
Deuteranopia (green-blind)
#859FDC
Tritanopia (blue-blind)
#D784A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d478df;
/* rgb */ color: rgb(212, 120, 223);
/* oklch */ color: oklch(71.0% 0.173 323.2);
Tailwind
colors: {
  custom: {
    50: '#e3a2e9',
    500: '#d478df',
    950: '#000000',
  },
}
SCSS
$custom: #d478df;
$custom-light: #e3a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d478df",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 293.592,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71044,
    "c": 0.17302,
    "h": 323.2
  },
  "luminance": 0.32758
}

Semantic roles & 50–950 ramp

primary
#D478DF
secondary
#CDEAC9
accent
#C91C2F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D478DF

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

Preview Lab → · Contrast checker → · Palette generator →

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