#D479EA#D479EA

#D479EA is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.7% C 0.182 H 319.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D479EA
RGBrgb(212, 121, 234)
HSLhsl(288, 73%, 70%)
HSVhsv(288, 48%, 92%)
CMYKcmyk(9.4%, 48.3%, 0%, 8.2%)
CIE-LABlab(64.66, 52.83, -42.71)
CIE-LCHlch(64.66, 67.93, 321.04°)
OKLaboklab(71.72% 0.1388 -0.1182)
OKLCHoklch(71.72% 0.182 319.6)
XYZxyz(48.8381, 33.6141, 81.7415)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D479EA #8FEA79
analogous
#9C79EA #D479EA #EA79C7
triadic
#D479EA #EAD479 #79EAD4
tetradic
#D479EA #EA9C79 #8FEA79 #79C7EA
square
#D479EA #EA9C79 #8FEA79 #79C7EA
split-complementary
#D479EA #C7EA79 #79EA9C
monochromatic
#A820C9 #C344E2 #D479EA #E5AEF2 #F6E3FB

Accessibility & contrast

On white

2.72
#D479EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#D479EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D479EA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D479EA#FFFFFF#000000##000000
##D479EA1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EE
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#D588A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d479ea;
/* rgb */ color: rgb(212, 121, 234);
/* oklch */ color: oklch(71.7% 0.182 319.6);
Tailwind
colors: {
  custom: {
    50: '#e3a2f1',
    500: '#d479ea',
    950: '#000000',
  },
}
SCSS
$custom: #d479ea;
$custom-light: #e3a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d479ea",
  "rgb": {
    "r": 212,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 288.319,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71718,
    "c": 0.18228,
    "h": 319.6
  },
  "luminance": 0.33612
}

Semantic roles & 50–950 ramp

primary
#D479EA
secondary
#D6F0CF
accent
#D51137
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D479EA

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

Preview Lab → · Contrast checker → · Palette generator →

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