#D76AFC#D76AFC

#D76AFC is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.0% C 0.224 H 316.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#D76AFC
RGBrgb(215, 106, 252)
HSLhsl(285, 96%, 70%)
HSVhsv(285, 58%, 99%)
CMYKcmyk(14.7%, 57.9%, 0%, 1.2%)
CIE-LABlab(63.16, 64.40, -54.98)
CIE-LCHlch(63.16, 84.67, 319.51°)
OKLaboklab(70.99% 0.1631 -0.1536)
OKLCHoklch(70.99% 0.224 316.7)
XYZxyz(50.7465, 31.7852, 95.5386)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D76AFC #8FFC6A
analogous
#8E6AFC #D76AFC #FC6AD8
triadic
#D76AFC #FCD76A #6AFCD7
tetradic
#D76AFC #FC8E6A #8FFC6A #6AD8FC
square
#D76AFC #FC8E6A #8FFC6A #6AD8FC
split-complementary
#D76AFC #D8FC6A #6AFC8E
monochromatic
#AE05E7 #C72EFB #D76AFC #E7A6FD #F7E1FE

Accessibility & contrast

On white

2.85
#D76AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#D76AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D76AFC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D76AFC#FFFFFF#000000##000000
##D76AFC1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#D582A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d76afc;
/* rgb */ color: rgb(215, 106, 252);
/* oklch */ color: oklch(71.0% 0.224 316.7);
Tailwind
colors: {
  custom: {
    50: '#e69afe',
    500: '#d76afc',
    950: '#000000',
  },
}
SCSS
$custom: #d76afc;
$custom-light: #e69afe;
$custom-dark: #000000;
JSON
{
  "hex": "#d76afc",
  "rgb": {
    "r": 215,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 284.795,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70988,
    "c": 0.2241,
    "h": 316.7
  },
  "luminance": 0.31783
}

Semantic roles & 50–950 ramp

primary
#D76AFC
secondary
#D7F5CD
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D76AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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