#D579F8#D579F8

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

Color values

HEX#D579F8
RGBrgb(213, 121, 248)
HSLhsl(283, 90%, 72%)
HSVhsv(283, 51%, 97%)
CMYKcmyk(14.1%, 51.2%, 0%, 2.7%)
CIE-LABlab(65.44, 55.86, -49.20)
CIE-LCHlch(65.44, 74.44, 318.63°)
OKLaboklab(72.54% 0.1416 -0.137)
OKLCHoklch(72.54% 0.197 315.9)
XYZxyz(51.2187, 34.5998, 92.7691)
Luminance0.3460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D579F8 #9CF879
analogous
#9679F8 #D579F8 #F879DB
triadic
#D579F8 #F8D579 #79F8D5
tetradic
#D579F8 #F89679 #9CF879 #79DBF8
square
#D579F8 #F89679 #9CF879 #79DBF8
split-complementary
#D579F8 #DBF879 #79F896
monochromatic
#AD0CEA #C33FF5 #D579F8 #E7B3FB #F6E2FD

Accessibility & contrast

On white

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

On black

7.92
#D579F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D579F8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D579F8#FFFFFF#000000##000000
##D579F81.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d579f8;
/* rgb */ color: rgb(213, 121, 248);
/* oklch */ color: oklch(72.5% 0.197 315.9);
Tailwind
colors: {
  custom: {
    50: '#e4a3fb',
    500: '#d579f8',
    950: '#000000',
  },
}
SCSS
$custom: #d579f8;
$custom-light: #e4a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d579f8",
  "rgb": {
    "r": 213,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 283.465,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72537,
    "c": 0.19698,
    "h": 315.9
  },
  "luminance": 0.34598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D579F8

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

Preview Lab → · Contrast checker → · Palette generator →

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