#D77ECB#D77ECB

#D77ECB is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.4% C 0.146 H 332.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D77ECB
RGBrgb(215, 126, 203)
HSLhsl(308, 53%, 67%)
HSVhsv(308, 41%, 84%)
CMYKcmyk(0%, 41.4%, 5.6%, 15.7%)
CIE-LABlab(64.71, 45.43, -25.32)
CIE-LCHlch(64.71, 52.00, 330.87°)
OKLaboklab(71.41% 0.1292 -0.0685)
OKLCHoklch(71.41% 0.146 332.1)
XYZxyz(46.2643, 33.6830, 60.5529)
Luminance0.3368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77ECB #7ED78A
analogous
#B77ED7 #D77ECB #D77E9F
triadic
#D77ECB #CBD77E #7ECBD7
tetradic
#D77ECB #D7B77E #7ED78A #7E9FD7
square
#D77ECB #D7B77E #7ED78A #7E9FD7
split-complementary
#D77ECB #9FD77E #7ED7B7
monochromatic
#A73497 #C94FB8 #D77ECB #E5ADDE #F4DBF1

Accessibility & contrast

On white

2.71
#D77ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#D77ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77ECB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77ECB#FFFFFF#000000##000000
##D77ECB1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CE
Deuteranopia (green-blind)
#93A2C8
Tritanopia (blue-blind)
#DE849B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d77ecb;
/* rgb */ color: rgb(215, 126, 203);
/* oklch */ color: oklch(71.4% 0.146 332.1);
Tailwind
colors: {
  custom: {
    50: '#e5a5db',
    500: '#d77ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d77ecb;
$custom-light: #e5a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d77ecb",
  "rgb": {
    "r": 215,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 308.09,
    "s": 52.663,
    "l": 66.863
  },
  "oklch": {
    "l": 0.7141,
    "c": 0.14626,
    "h": 332.1
  },
  "luminance": 0.33681
}

Semantic roles & 50–950 ramp

primary
#D77ECB
secondary
#CAE7CE
accent
#C03A25
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D77ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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