#D478FC#D478FC

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

Color values

HEX#D478FC
RGBrgb(212, 120, 252)
HSLhsl(282, 96%, 73%)
HSVhsv(282, 52%, 99%)
CMYKcmyk(15.9%, 52.4%, 0%, 1.2%)
CIE-LABlab(65.33, 56.91, -51.57)
CIE-LCHlch(65.33, 76.80, 317.82°)
OKLaboklab(72.49% 0.1421 -0.1439)
OKLCHoklch(72.49% 0.202 314.6)
XYZxyz(51.4357, 34.4597, 96.0185)
Luminance0.3446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478FC #A0FC78
analogous
#9278FC #D478FC #FC78E2
triadic
#D478FC #FCD478 #78FCD4
tetradic
#D478FC #FC9278 #A0FC78 #78E2FC
square
#D478FC #FC9278 #A0FC78 #78E2FC
split-complementary
#D478FC #E2FC78 #78FC92
monochromatic
#AC05F4 #C13CFB #D478FC #E7B4FD #F5E1FE

Accessibility & contrast

On white

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

On black

7.89
#D478FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478FC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478FC#FFFFFF#000000##000000
##D478FC1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d478fc;
/* rgb */ color: rgb(212, 120, 252);
/* oklch */ color: oklch(72.5% 0.202 314.6);
Tailwind
colors: {
  custom: {
    50: '#e4a2fe',
    500: '#d478fc',
    950: '#000000',
  },
}
SCSS
$custom: #d478fc;
$custom-light: #e4a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d478fc",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 281.818,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72494,
    "c": 0.2022,
    "h": 314.6
  },
  "luminance": 0.34458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D478FC

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

Preview Lab → · Contrast checker → · Palette generator →

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