#D76AFA#D76AFA

#D76AFA is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.9% C 0.222 H 317.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#D76AFA
RGBrgb(215, 106, 250)
HSLhsl(285, 94%, 70%)
HSVhsv(285, 58%, 98%)
CMYKcmyk(14%, 57.6%, 0%, 2%)
CIE-LABlab(63.06, 64.01, -54.04)
CIE-LCHlch(63.06, 83.77, 319.82°)
OKLaboklab(70.88% 0.1631 -0.1509)
OKLCHoklch(70.88% 0.222 317.2)
XYZxyz(50.4312, 31.6591, 93.8783)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D76AFA #8DFA6A
analogous
#8F6AFA #D76AFA #FA6AD5
triadic
#D76AFA #FAD76A #6AFAD7
tetradic
#D76AFA #FA8F6A #8DFA6A #6AD5FA
square
#D76AFA #FA8F6A #8DFA6A #6AD5FA
split-complementary
#D76AFA #D5FA6A #6AFA8F
monochromatic
#AD08E2 #C72FF8 #D76AFA #E7A5FC #F7E0FE

Accessibility & contrast

On white

2.86
#D76AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#D76AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D76AFA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D76AFA#FFFFFF#000000##000000
##D76AFA1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FF
Deuteranopia (green-blind)
#6E9CF6
Tritanopia (blue-blind)
#D682A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d76afa;
/* rgb */ color: rgb(215, 106, 250);
/* oklch */ color: oklch(70.9% 0.222 317.2);
Tailwind
colors: {
  custom: {
    50: '#e69afc',
    500: '#d76afa',
    950: '#000000',
  },
}
SCSS
$custom: #d76afa;
$custom-light: #e69afc;
$custom-dark: #000000;
JSON
{
  "hex": "#d76afa",
  "rgb": {
    "r": 215,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 285.417,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70878,
    "c": 0.22219,
    "h": 317.2
  },
  "luminance": 0.31657
}

Semantic roles & 50–950 ramp

primary
#D76AFA
secondary
#D5F4CC
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D76AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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