#D77BEC#D77BEC

#D77BEC is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.4% C 0.183 H 320.0°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D77BEC
RGBrgb(215, 123, 236)
HSLhsl(289, 75%, 70%)
HSVhsv(289, 48%, 93%)
CMYKcmyk(8.9%, 47.9%, 0%, 7.5%)
CIE-LABlab(65.49, 53.03, -42.48)
CIE-LCHlch(65.49, 67.95, 321.30°)
OKLaboklab(72.45% 0.1398 -0.1175)
OKLCHoklch(72.45% 0.183 320)
XYZxyz(50.2457, 34.6710, 83.3861)
Luminance0.3467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77BEC #90EC7B
analogous
#9F7BEC #D77BEC #EC7BC8
triadic
#D77BEC #ECD77B #7BECD7
tetradic
#D77BEC #EC9F7B #90EC7B #7BC8EC
square
#D77BEC #EC9F7B #90EC7B #7BC8EC
split-complementary
#D77BEC #C8EC7B #7BEC9F
monochromatic
#AE1ECF #C746E4 #D77BEC #E7B0F4 #F7E4FB

Accessibility & contrast

On white

2.65
#D77BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#D77BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77BEC
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77BEC#FFFFFF#000000##000000
##D77BEC1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#84A2E9
Tritanopia (blue-blind)
#D88AA9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d77bec;
/* rgb */ color: rgb(215, 123, 236);
/* oklch */ color: oklch(72.4% 0.183 320.0);
Tailwind
colors: {
  custom: {
    50: '#e5a4f2',
    500: '#d77bec',
    950: '#000000',
  },
}
SCSS
$custom: #d77bec;
$custom-light: #e5a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d77bec",
  "rgb": {
    "r": 215,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 288.85,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72445,
    "c": 0.18258,
    "h": 320
  },
  "luminance": 0.34669
}

Semantic roles & 50–950 ramp

primary
#D77BEC
secondary
#D8F1D2
accent
#D70F34
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D77BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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