#D77AF6#D77AF6

#D77AF6 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.8% C 0.194 H 317.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#D77AF6
RGBrgb(215, 122, 246)
HSLhsl(285, 87%, 72%)
HSVhsv(285, 50%, 96%)
CMYKcmyk(12.6%, 50.4%, 0%, 3.5%)
CIE-LABlab(65.77, 55.49, -47.56)
CIE-LCHlch(65.77, 73.08, 319.40°)
OKLaboklab(72.8% 0.1424 -0.1322)
OKLCHoklch(72.8% 0.194 317.1)
XYZxyz(51.6160, 35.0217, 91.2118)
Luminance0.3502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77AF6 #99F67A
analogous
#997AF6 #D77AF6 #F67AD7
triadic
#D77AF6 #F6D77A #7AF6D7
tetradic
#D77AF6 #F6997A #99F67A #7AD7F6
square
#D77AF6 #F6997A #99F67A #7AD7F6
split-complementary
#D77AF6 #D7F67A #7AF699
monochromatic
#B010E6 #C641F2 #D77AF6 #E8B3FA #F6E2FD

Accessibility & contrast

On white

2.62
#D77AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#D77AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77AF6
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77AF6#FFFFFF#000000##000000
##D77AF61.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFA
Deuteranopia (green-blind)
#7EA3F3
Tritanopia (blue-blind)
#D68CAD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d77af6;
/* rgb */ color: rgb(215, 122, 246);
/* oklch */ color: oklch(72.8% 0.194 317.1);
Tailwind
colors: {
  custom: {
    50: '#e6a3f9',
    500: '#d77af6',
    950: '#000000',
  },
}
SCSS
$custom: #d77af6;
$custom-light: #e6a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d77af6",
  "rgb": {
    "r": 215,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 285,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.728,
    "c": 0.19426,
    "h": 317.1
  },
  "luminance": 0.3502
}

Semantic roles & 50–950 ramp

primary
#D77AF6
secondary
#DEF5D6
accent
#E4023A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D77AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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