#D579F9#D579F9

#D579F9 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.6% C 0.198 H 315.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D579F9
RGBrgb(213, 121, 249)
HSLhsl(283, 91%, 73%)
HSVhsv(283, 51%, 98%)
CMYKcmyk(14.5%, 51.4%, 0%, 2.4%)
CIE-LABlab(65.48, 56.06, -49.67)
CIE-LCHlch(65.48, 74.90, 318.46°)
OKLaboklab(72.59% 0.1417 -0.1383)
OKLCHoklch(72.59% 0.198 315.7)
XYZxyz(51.3742, 34.6620, 93.5884)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D579F9 #9DF979
analogous
#9579F9 #D579F9 #F979DD
triadic
#D579F9 #F9D579 #79F9D5
tetradic
#D579F9 #F99579 #9DF979 #79DDF9
square
#D579F9 #F99579 #9DF979 #79DDF9
split-complementary
#D579F9 #DDF979 #79F995
monochromatic
#AD0BED #C33EF6 #D579F9 #E7B4FC #F6E2FE

Accessibility & contrast

On white

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

On black

7.93
#D579F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D579F9
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D579F9#FFFFFF#000000##000000
##D579F91.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FD
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#D38DAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d579f9;
/* rgb */ color: rgb(213, 121, 249);
/* oklch */ color: oklch(72.6% 0.198 315.7);
Tailwind
colors: {
  custom: {
    50: '#e4a3fc',
    500: '#d579f9',
    950: '#000000',
  },
}
SCSS
$custom: #d579f9;
$custom-light: #e4a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d579f9",
  "rgb": {
    "r": 213,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 283.125,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72589,
    "c": 0.198,
    "h": 315.7
  },
  "luminance": 0.3466
}

Semantic roles & 50–950 ramp

primary
#D579F9
secondary
#DEF6D5
accent
#E60041
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D579F9

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

Preview Lab → · Contrast checker → · Palette generator →

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