#D478FD#D478FD

#D478FD is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.5% C 0.203 H 314.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D478FD
RGBrgb(212, 120, 253)
HSLhsl(282, 97%, 73%)
HSVhsv(282, 53%, 99%)
CMYKcmyk(16.2%, 52.6%, 0%, 0.8%)
CIE-LABlab(65.38, 57.12, -52.04)
CIE-LCHlch(65.38, 77.27, 317.66°)
OKLaboklab(72.55% 0.1422 -0.1452)
OKLCHoklch(72.55% 0.203 314.4)
XYZxyz(51.5946, 34.5233, 96.8552)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478FD #A1FD78
analogous
#9178FD #D478FD #FD78E3
triadic
#D478FD #FDD478 #78FDD4
tetradic
#D478FD #FD9178 #A1FD78 #78E3FD
square
#D478FD #FD9178 #A1FD78 #78E3FD
split-complementary
#D478FD #E3FD78 #78FD91
monochromatic
#AC04F7 #C13CFC #D478FD #E7B4FE #F5E1FF

Accessibility & contrast

On white

2.66
#D478FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D478FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478FD
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478FD#FFFFFF#000000##000000
##D478FD1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#76A1FA
Tritanopia (blue-blind)
#D18DB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d478fd;
/* rgb */ color: rgb(212, 120, 253);
/* oklch */ color: oklch(72.5% 0.203 314.4);
Tailwind
colors: {
  custom: {
    50: '#e4a2fe',
    500: '#d478fd',
    950: '#000000',
  },
}
SCSS
$custom: #d478fd;
$custom-light: #e4a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d478fd",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 281.504,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72548,
    "c": 0.20323,
    "h": 314.4
  },
  "luminance": 0.34522
}

Semantic roles & 50–950 ramp

primary
#D478FD
secondary
#DFF7D4
accent
#E60047
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D478FD

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

Preview Lab → · Contrast checker → · Palette generator →

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