#D77ECC#D77ECC

#D77ECC is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.147 H 331.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#D77ECC
RGBrgb(215, 126, 204)
HSLhsl(307, 53%, 67%)
HSVhsv(307, 41%, 84%)
CMYKcmyk(0%, 41.4%, 5.1%, 15.7%)
CIE-LABlab(64.75, 45.60, -25.82)
CIE-LCHlch(64.75, 52.40, 330.48°)
OKLaboklab(71.45% 0.1295 -0.0699)
OKLCHoklch(71.45% 0.147 331.6)
XYZxyz(46.3838, 33.7309, 61.1826)
Luminance0.3373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77ECC #7ED789
analogous
#B67ED7 #D77ECC #D77EA0
triadic
#D77ECC #CCD77E #7ECCD7
tetradic
#D77ECC #D7B67E #7ED789 #7EA0D7
square
#D77ECC #D7B67E #7ED789 #7EA0D7
split-complementary
#D77ECC #A0D77E #7ED7B6
monochromatic
#A73499 #C94FBA #D77ECC #E5ADDE #F4DBF1

Accessibility & contrast

On white

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

On black

7.75
#D77ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77ECC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77ECC#FFFFFF#000000##000000
##D77ECC1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95CF
Deuteranopia (green-blind)
#93A2C9
Tritanopia (blue-blind)
#DE849C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d77ecc;
/* rgb */ color: rgb(215, 126, 204);
/* oklch */ color: oklch(71.5% 0.147 331.6);
Tailwind
colors: {
  custom: {
    50: '#e5a5db',
    500: '#d77ecc',
    950: '#000000',
  },
}
SCSS
$custom: #d77ecc;
$custom-light: #e5a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d77ecc",
  "rgb": {
    "r": 215,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 307.416,
    "s": 52.663,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71451,
    "c": 0.14714,
    "h": 331.6
  },
  "luminance": 0.33728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D77ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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