#D479EB#D479EB

#D479EB is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.8% C 0.183 H 319.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#D479EB
RGBrgb(212, 121, 235)
HSLhsl(288, 74%, 70%)
HSVhsv(288, 49%, 92%)
CMYKcmyk(9.8%, 48.5%, 0%, 7.8%)
CIE-LABlab(64.70, 53.02, -43.19)
CIE-LCHlch(64.70, 68.39, 320.83°)
OKLaboklab(71.77% 0.1389 -0.1196)
OKLCHoklch(71.77% 0.183 319.3)
XYZxyz(48.9822, 33.6718, 82.5003)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D479EB #90EB79
analogous
#9B79EB #D479EB #EB79C9
triadic
#D479EB #EBD479 #79EBD4
tetradic
#D479EB #EB9B79 #90EB79 #79C9EB
square
#D479EB #EB9B79 #90EB79 #79C9EB
split-complementary
#D479EB #C9EB79 #79EB9B
monochromatic
#A81ECB #C344E3 #D479EB #E5AEF3 #F6E4FB

Accessibility & contrast

On white

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

On black

7.73
#D479EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D479EB
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D479EB#FFFFFF#000000##000000
##D479EB1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597EF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#D589A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d479eb;
/* rgb */ color: rgb(212, 121, 235);
/* oklch */ color: oklch(71.8% 0.183 319.3);
Tailwind
colors: {
  custom: {
    50: '#e3a2f2',
    500: '#d479eb',
    950: '#000000',
  },
}
SCSS
$custom: #d479eb;
$custom-light: #e3a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d479eb",
  "rgb": {
    "r": 212,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 287.895,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71767,
    "c": 0.18329,
    "h": 319.3
  },
  "luminance": 0.3367
}

Semantic roles & 50–950 ramp

primary
#D479EB
secondary
#D6F0D0
accent
#D60F37
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D479EB

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

Preview Lab → · Contrast checker → · Palette generator →

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