#D77DF8#D77DF8

#D77DF8 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.3% C 0.192 H 316.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#D77DF8
RGBrgb(215, 125, 248)
HSLhsl(284, 90%, 73%)
HSVhsv(284, 50%, 97%)
CMYKcmyk(13.3%, 49.6%, 0%, 2.7%)
CIE-LABlab(66.44, 54.38, -47.60)
CIE-LCHlch(66.44, 72.27, 318.81°)
OKLaboklab(73.33% 0.1386 -0.1323)
OKLCHoklch(73.33% 0.192 316.3)
XYZxyz(52.2987, 35.8932, 92.9619)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77DF8 #9EF87D
analogous
#997DF8 #D77DF8 #F87DDC
triadic
#D77DF8 #F8D77D #7DF8D7
tetradic
#D77DF8 #F8997D #9EF87D #7DDCF8
square
#D77DF8 #F8997D #9EF87D #7DDCF8
split-complementary
#D77DF8 #DCF87D #7DF899
monochromatic
#B10DEE #C543F5 #D77DF8 #E9B7FB #F6E2FD

Accessibility & contrast

On white

2.57
#D77DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#D77DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77DF8
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77DF8#FFFFFF#000000##000000
##D77DF81.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#7FA4F5
Tritanopia (blue-blind)
#D68FAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d77df8;
/* rgb */ color: rgb(215, 125, 248);
/* oklch */ color: oklch(73.3% 0.192 316.3);
Tailwind
colors: {
  custom: {
    50: '#e6a5fb',
    500: '#d77df8',
    950: '#000000',
  },
}
SCSS
$custom: #d77df8;
$custom-light: #e6a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d77df8",
  "rgb": {
    "r": 215,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 283.902,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73329,
    "c": 0.19161,
    "h": 316.3
  },
  "luminance": 0.35892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D77DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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