#D479EF#D479EF

#D479EF is a light, vivid purple. Relative luminance 0.339; OKLCH L 72.0% C 0.187 H 318.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#D479EF
RGBrgb(212, 121, 239)
HSLhsl(286, 79%, 71%)
HSVhsv(286, 49%, 94%)
CMYKcmyk(11.3%, 49.4%, 0%, 6.3%)
CIE-LABlab(64.89, 53.80, -45.11)
CIE-LCHlch(64.89, 70.21, 320.02°)
OKLaboklab(71.97% 0.1394 -0.1251)
OKLCHoklch(71.97% 0.187 318.1)
XYZxyz(49.5666, 33.9055, 85.5781)
Luminance0.3390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D479EF #94EF79
analogous
#9979EF #D479EF #EF79CF
triadic
#D479EF #EFD479 #79EFD4
tetradic
#D479EF #EF9979 #94EF79 #79CFEF
square
#D479EF #EF9979 #94EF79 #79CFEF
split-complementary
#D479EF #CFEF79 #79EF99
monochromatic
#A919D4 #C242E8 #D479EF #E6B0F6 #F6E4FC

Accessibility & contrast

On white

2.70
#D479EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#D479EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D479EF
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D479EF#FFFFFF#000000##000000
##D479EF1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#D48AA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d479ef;
/* rgb */ color: rgb(212, 121, 239);
/* oklch */ color: oklch(72.0% 0.187 318.1);
Tailwind
colors: {
  custom: {
    50: '#e3a2f4',
    500: '#d479ef',
    950: '#000000',
  },
}
SCSS
$custom: #d479ef;
$custom-light: #e3a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d479ef",
  "rgb": {
    "r": 212,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 286.271,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71966,
    "c": 0.18734,
    "h": 318.1
  },
  "luminance": 0.33904
}

Semantic roles & 50–950 ramp

primary
#D479EF
secondary
#D9F2D2
accent
#DB0B3A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D479EF

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

Preview Lab → · Contrast checker → · Palette generator →

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