#D478FF#D478FF

#D478FF is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.7% C 0.205 H 313.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D478FF
RGBrgb(212, 120, 255)
HSLhsl(281, 100%, 74%)
HSVhsv(281, 53%, 100%)
CMYKcmyk(16.9%, 52.9%, 0%, 0%)
CIE-LABlab(65.48, 57.52, -52.98)
CIE-LCHlch(65.48, 78.20, 317.35°)
OKLaboklab(72.65% 0.1423 -0.148)
OKLCHoklch(72.65% 0.205 313.9)
XYZxyz(51.9149, 34.6514, 98.5420)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478FF #A3FF78
analogous
#9078FF #D478FF #FF78E6
triadic
#D478FF #FFD478 #78FFD4
tetradic
#D478FF #FF9078 #A3FF78 #78E6FF
square
#D478FF #FF9078 #A3FF78 #78E6FF
split-complementary
#D478FF #E6FF78 #78FF90
monochromatic
#AC00FD #C13BFF #D478FF #E7B5FF #F5E0FF

Accessibility & contrast

On white

2.65
#D478FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#D478FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478FF
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478FF#FFFFFF#000000##000000
##D478FF1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#569AFF
Deuteranopia (green-blind)
#74A1FC
Tritanopia (blue-blind)
#D08EB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d478ff;
/* rgb */ color: rgb(212, 120, 255);
/* oklch */ color: oklch(72.7% 0.205 313.9);
Tailwind
colors: {
  custom: {
    50: '#e4a2ff',
    500: '#d478ff',
    950: '#000000',
  },
}
SCSS
$custom: #d478ff;
$custom-light: #e4a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d478ff",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 280.889,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72654,
    "c": 0.2053,
    "h": 313.9
  },
  "luminance": 0.3465
}

Semantic roles & 50–950 ramp

primary
#D478FF
secondary
#DFF7D4
accent
#E60049
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D478FF

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

Preview Lab → · Contrast checker → · Palette generator →

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