#D77AF9#D77AF9

#D77AF9 is a light, vivid purple. Relative luminance 0.352; OKLCH L 73.0% C 0.197 H 316.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D77AF9
RGBrgb(215, 122, 249)
HSLhsl(284, 91%, 73%)
HSVhsv(284, 51%, 98%)
CMYKcmyk(13.7%, 51%, 0%, 2.4%)
CIE-LABlab(65.91, 56.09, -48.98)
CIE-LCHlch(65.91, 74.47, 318.87°)
OKLaboklab(72.95% 0.1427 -0.1363)
OKLCHoklch(72.95% 0.197 316.3)
XYZxyz(52.0802, 35.2073, 93.6564)
Luminance0.3521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77AF9 #9CF97A
analogous
#977AF9 #D77AF9 #F97ADB
triadic
#D77AF9 #F9D77A #7AF9D7
tetradic
#D77AF9 #F9977A #9CF97A #7ADBF9
square
#D77AF9 #F9977A #9CF97A #7ADBF9
split-complementary
#D77AF9 #DBF97A #7AF997
monochromatic
#B10BEE #C53FF6 #D77AF9 #E9B5FC #F6E2FE

Accessibility & contrast

On white

2.61
#D77AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D77AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77AF9
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77AF9#FFFFFF#000000##000000
##D77AF91.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFD
Deuteranopia (green-blind)
#7CA3F6
Tritanopia (blue-blind)
#D58DAE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d77af9;
/* rgb */ color: rgb(215, 122, 249);
/* oklch */ color: oklch(73.0% 0.197 316.3);
Tailwind
colors: {
  custom: {
    50: '#e6a3fc',
    500: '#d77af9',
    950: '#000000',
  },
}
SCSS
$custom: #d77af9;
$custom-light: #e6a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d77af9",
  "rgb": {
    "r": 215,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 283.937,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72954,
    "c": 0.19731,
    "h": 316.3
  },
  "luminance": 0.35206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D77AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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