#D77AF0#D77AF0

#D77AF0 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.5% C 0.188 H 318.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D77AF0
RGBrgb(215, 122, 240)
HSLhsl(287, 80%, 71%)
HSVhsv(287, 49%, 94%)
CMYKcmyk(10.4%, 49.2%, 0%, 5.9%)
CIE-LABlab(65.48, 54.31, -44.70)
CIE-LCHlch(65.48, 70.34, 320.54°)
OKLaboklab(72.5% 0.1417 -0.1239)
OKLCHoklch(72.5% 0.188 318.8)
XYZxyz(50.7100, 34.6593, 86.4399)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77AF0 #93F07A
analogous
#9C7AF0 #D77AF0 #F07ACE
triadic
#D77AF0 #F0D77A #7AF0D7
tetradic
#D77AF0 #F09C7A #93F07A #7ACEF0
square
#D77AF0 #F09C7A #93F07A #7ACEF0
split-complementary
#D77AF0 #CEF07A #7AF09C
monochromatic
#AF18D7 #C643EA #D77AF0 #E8B1F6 #F7E4FC

Accessibility & contrast

On white

2.65
#D77AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#D77AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77AF0
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77AF0#FFFFFF#000000##000000
##D77AF01.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F4
Deuteranopia (green-blind)
#81A2ED
Tritanopia (blue-blind)
#D78BAA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d77af0;
/* rgb */ color: rgb(215, 122, 240);
/* oklch */ color: oklch(72.5% 0.188 318.8);
Tailwind
colors: {
  custom: {
    50: '#e5a3f5',
    500: '#d77af0',
    950: '#000000',
  },
}
SCSS
$custom: #d77af0;
$custom-light: #e5a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d77af0",
  "rgb": {
    "r": 215,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 287.288,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72498,
    "c": 0.18819,
    "h": 318.8
  },
  "luminance": 0.34657
}

Semantic roles & 50–950 ramp

primary
#D77AF0
secondary
#DAF3D3
accent
#DC0936
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D77AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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