#D478FA#D478FA

#D478FA is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.4% C 0.200 H 315.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#D478FA
RGBrgb(212, 120, 250)
HSLhsl(282, 93%, 73%)
HSVhsv(282, 52%, 98%)
CMYKcmyk(15.2%, 52%, 0%, 2%)
CIE-LABlab(65.23, 56.51, -50.63)
CIE-LCHlch(65.23, 75.87, 318.14°)
OKLaboklab(72.39% 0.1419 -0.1411)
OKLCHoklch(72.39% 0.2 315.1)
XYZxyz(51.1205, 34.3336, 94.3581)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478FA #9EFA78
analogous
#9378FA #D478FA #FA78DF
triadic
#D478FA #FAD478 #78FAD4
tetradic
#D478FA #FA9378 #9EFA78 #78DFFA
square
#D478FA #FA9378 #9EFA78 #78DFFA
split-complementary
#D478FA #DFFA78 #78FA93
monochromatic
#AC09EF #C13DF8 #D478FA #E7B3FC #F6E1FE

Accessibility & contrast

On white

2.67
#D478FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#D478FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478FA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478FA#FFFFFF#000000##000000
##D478FA1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#D28DAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d478fa;
/* rgb */ color: rgb(212, 120, 250);
/* oklch */ color: oklch(72.4% 0.200 315.1);
Tailwind
colors: {
  custom: {
    50: '#e4a2fc',
    500: '#d478fa',
    950: '#000000',
  },
}
SCSS
$custom: #d478fa;
$custom-light: #e4a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d478fa",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 282.462,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72389,
    "c": 0.20014,
    "h": 315.1
  },
  "luminance": 0.34332
}

Semantic roles & 50–950 ramp

primary
#D478FA
secondary
#DFF6D5
accent
#E60043
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D478FA

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

Preview Lab → · Contrast checker → · Palette generator →

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