#D77DEB#D77DEB

#D77DEB is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.7% C 0.178 H 320.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#D77DEB
RGBrgb(215, 125, 235)
HSLhsl(289, 73%, 71%)
HSVhsv(289, 47%, 92%)
CMYKcmyk(8.5%, 46.8%, 0%, 7.8%)
CIE-LABlab(65.84, 51.82, -41.38)
CIE-LCHlch(65.84, 66.32, 321.39°)
OKLaboklab(72.69% 0.1369 -0.1143)
OKLCHoklch(72.69% 0.178 320.1)
XYZxyz(50.3515, 35.1144, 82.7066)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77DEB #91EB7D
analogous
#A07DEB #D77DEB #EB7DC8
triadic
#D77DEB #EBD77D #7DEBD7
tetradic
#D77DEB #EBA07D #91EB7D #7DC8EB
square
#D77DEB #EBA07D #91EB7D #7DC8EB
split-complementary
#D77DEB #C8EB7D #7DEBA0
monochromatic
#AE20CE #C748E3 #D77DEB #E7B2F3 #F7E4FB

Accessibility & contrast

On white

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

On black

8.02
#D77DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77DEB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77DEB#FFFFFF#000000##000000
##D77DEB1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#86A3E8
Tritanopia (blue-blind)
#D88CA9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d77deb;
/* rgb */ color: rgb(215, 125, 235);
/* oklch */ color: oklch(72.7% 0.178 320.1);
Tailwind
colors: {
  custom: {
    50: '#e5a5f2',
    500: '#d77deb',
    950: '#000000',
  },
}
SCSS
$custom: #d77deb;
$custom-light: #e5a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d77deb",
  "rgb": {
    "r": 215,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 289.091,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72687,
    "c": 0.17836,
    "h": 320.1
  },
  "luminance": 0.35112
}

Semantic roles & 50–950 ramp

primary
#D77DEB
secondary
#D8F1D3
accent
#D51034
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D77DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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