#D77DEF#D77DEF

#D77DEF is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.9% C 0.182 H 318.9°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#D77DEF
RGBrgb(215, 125, 239)
HSLhsl(287, 78%, 71%)
HSVhsv(287, 48%, 94%)
CMYKcmyk(10%, 47.7%, 0%, 6.3%)
CIE-LABlab(66.02, 52.60, -43.31)
CIE-LCHlch(66.02, 68.14, 320.53°)
OKLaboklab(72.88% 0.1375 -0.1199)
OKLCHoklch(72.88% 0.182 318.9)
XYZxyz(50.9359, 35.3481, 85.7844)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77DEF #95EF7D
analogous
#9E7DEF #D77DEF #EF7DCE
triadic
#D77DEF #EFD77D #7DEFD7
tetradic
#D77DEF #EF9E7D #95EF7D #7DCEEF
square
#D77DEF #EF9E7D #95EF7D #7DCEEF
split-complementary
#D77DEF #CEEF7D #7DEF9E
monochromatic
#AF1AD7 #C647E8 #D77DEF #E8B3F6 #F7E4FC

Accessibility & contrast

On white

2.60
#D77DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#D77DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77DEF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77DEF#FFFFFF#000000##000000
##D77DEF1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#D88DAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d77def;
/* rgb */ color: rgb(215, 125, 239);
/* oklch */ color: oklch(72.9% 0.182 318.9);
Tailwind
colors: {
  custom: {
    50: '#e5a5f4',
    500: '#d77def',
    950: '#000000',
  },
}
SCSS
$custom: #d77def;
$custom-light: #e5a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d77def",
  "rgb": {
    "r": 215,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 287.368,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.1824,
    "h": 318.9
  },
  "luminance": 0.35346
}

Semantic roles & 50–950 ramp

primary
#D77DEF
secondary
#DBF3D5
accent
#DA0B37
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D77DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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