#D77CEE#D77CEE

#D77CEE is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.7% C 0.183 H 319.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D77CEE
RGBrgb(215, 124, 238)
HSLhsl(288, 77%, 71%)
HSVhsv(288, 48%, 93%)
CMYKcmyk(9.7%, 47.9%, 0%, 6.7%)
CIE-LABlab(65.78, 52.91, -43.13)
CIE-LCHlch(65.78, 68.27, 320.81°)
OKLaboklab(72.69% 0.1387 -0.1194)
OKLCHoklch(72.69% 0.183 319.3)
XYZxyz(50.6626, 35.0373, 84.9665)
Luminance0.3503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77CEE #93EE7C
analogous
#9E7CEE #D77CEE #EE7CCC
triadic
#D77CEE #EED77C #7CEED7
tetradic
#D77CEE #EE9E7C #93EE7C #7CCCEE
square
#D77CEE #EE9E7C #93EE7C #7CCCEE
split-complementary
#D77CEE #CCEE7C #7CEE9E
monochromatic
#AF1CD4 #C646E7 #D77CEE #E8B2F5 #F7E4FB

Accessibility & contrast

On white

2.62
#D77CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#D77CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77CEE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77CEE#FFFFFF#000000##000000
##D77CEE1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF2
Deuteranopia (green-blind)
#83A3EB
Tritanopia (blue-blind)
#D88CAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d77cee;
/* rgb */ color: rgb(215, 124, 238);
/* oklch */ color: oklch(72.7% 0.183 319.3);
Tailwind
colors: {
  custom: {
    50: '#e5a5f4',
    500: '#d77cee',
    950: '#000000',
  },
}
SCSS
$custom: #d77cee;
$custom-light: #e5a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d77cee",
  "rgb": {
    "r": 215,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 287.895,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72687,
    "c": 0.18299,
    "h": 319.3
  },
  "luminance": 0.35035
}

Semantic roles & 50–950 ramp

primary
#D77CEE
secondary
#DAF2D4
accent
#D90C36
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D77CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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