#D479FA#D479FA

#D479FA is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.5% C 0.199 H 315.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#D479FA
RGBrgb(212, 121, 250)
HSLhsl(282, 93%, 73%)
HSVhsv(282, 52%, 98%)
CMYKcmyk(15.2%, 51.6%, 0%, 2%)
CIE-LABlab(65.42, 56.01, -50.33)
CIE-LCHlch(65.42, 75.30, 318.05°)
OKLaboklab(72.53% 0.1406 -0.1403)
OKLCHoklch(72.53% 0.199 315.1)
XYZxyz(51.2414, 34.5754, 94.3984)
Luminance0.3457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D479FA #9FFA79
analogous
#9479FA #D479FA #FA79DF
triadic
#D479FA #FAD479 #79FAD4
tetradic
#D479FA #FA9479 #9FFA79 #79DFFA
square
#D479FA #FA9479 #9FFA79 #79DFFA
split-complementary
#D479FA #DFFA79 #79FA94
monochromatic
#AC09F0 #C13EF8 #D479FA #E7B4FC #F6E2FE

Accessibility & contrast

On white

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

On black

7.91
#D479FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D479FA
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D479FA#FFFFFF#000000##000000
##D479FA1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#78A1F7
Tritanopia (blue-blind)
#D18DAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d479fa;
/* rgb */ color: rgb(212, 121, 250);
/* oklch */ color: oklch(72.5% 0.199 315.1);
Tailwind
colors: {
  custom: {
    50: '#e4a3fc',
    500: '#d479fa',
    950: '#000000',
  },
}
SCSS
$custom: #d479fa;
$custom-light: #e4a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d479fa",
  "rgb": {
    "r": 212,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 282.326,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72529,
    "c": 0.19861,
    "h": 315.1
  },
  "luminance": 0.34574
}

Semantic roles & 50–950 ramp

primary
#D479FA
secondary
#DFF6D5
accent
#E60044
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D479FA

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

Preview Lab → · Contrast checker → · Palette generator →

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