#D77DEC#D77DEC

#D77DEC is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.7% C 0.179 H 319.8°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#D77DEC
RGBrgb(215, 125, 236)
HSLhsl(289, 74%, 71%)
HSVhsv(289, 47%, 93%)
CMYKcmyk(8.9%, 47%, 0%, 7.5%)
CIE-LABlab(65.88, 52.02, -41.87)
CIE-LCHlch(65.88, 66.77, 321.17°)
OKLaboklab(72.74% 0.137 -0.1157)
OKLCHoklch(72.74% 0.179 319.8)
XYZxyz(50.4964, 35.1723, 83.4696)
Luminance0.3517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77DEC #92EC7D
analogous
#9F7DEC #D77DEC #EC7DC9
triadic
#D77DEC #ECD77D #7DECD7
tetradic
#D77DEC #EC9F7D #92EC7D #7DC9EC
square
#D77DEC #EC9F7D #92EC7D #7DC9EC
split-complementary
#D77DEC #C9EC7D #7DEC9F
monochromatic
#AF1ED0 #C748E4 #D77DEC #E7B2F4 #F7E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D77DEC#FFFFFF#000000##000000
##D77DEC1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF0
Deuteranopia (green-blind)
#85A3E9
Tritanopia (blue-blind)
#D88CAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d77dec;
/* rgb */ color: rgb(215, 125, 236);
/* oklch */ color: oklch(72.7% 0.179 319.8);
Tailwind
colors: {
  custom: {
    50: '#e5a5f2',
    500: '#d77dec',
    950: '#000000',
  },
}
SCSS
$custom: #d77dec;
$custom-light: #e5a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d77dec",
  "rgb": {
    "r": 215,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 288.649,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72735,
    "c": 0.17936,
    "h": 319.8
  },
  "luminance": 0.3517
}

Semantic roles & 50–950 ramp

primary
#D77DEC
secondary
#D9F1D3
accent
#D70F35
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D77DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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