#D77AF8#D77AF8

#D77AF8 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.9% C 0.196 H 316.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#D77AF8
RGBrgb(215, 122, 248)
HSLhsl(284, 90%, 73%)
HSVhsv(284, 51%, 97%)
CMYKcmyk(13.3%, 50.8%, 0%, 2.7%)
CIE-LABlab(65.86, 55.89, -48.51)
CIE-LCHlch(65.86, 74.01, 319.04°)
OKLaboklab(72.9% 0.1426 -0.1349)
OKLCHoklch(72.9% 0.196 316.6)
XYZxyz(51.9246, 35.1451, 92.8372)
Luminance0.3514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77AF8 #9BF87A
analogous
#987AF8 #D77AF8 #F87ADA
triadic
#D77AF8 #F8D77A #7AF8D7
tetradic
#D77AF8 #F8987A #9BF87A #7ADAF8
square
#D77AF8 #F8987A #9BF87A #7ADAF8
split-complementary
#D77AF8 #DAF87A #7AF898
monochromatic
#B10CEB #C640F5 #D77AF8 #E8B4FB #F6E2FD

Accessibility & contrast

On white

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

On black

8.03
#D77AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77AF8
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77AF8#FFFFFF#000000##000000
##D77AF81.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#D68DAE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d77af8;
/* rgb */ color: rgb(215, 122, 248);
/* oklch */ color: oklch(72.9% 0.196 316.6);
Tailwind
colors: {
  custom: {
    50: '#e6a3fb',
    500: '#d77af8',
    950: '#000000',
  },
}
SCSS
$custom: #d77af8;
$custom-light: #e6a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d77af8",
  "rgb": {
    "r": 215,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 284.286,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72902,
    "c": 0.1963,
    "h": 316.6
  },
  "luminance": 0.35143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D77AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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