#D77ECA#D77ECA

#D77ECA is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.4% C 0.145 H 332.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#D77ECA
RGBrgb(215, 126, 202)
HSLhsl(309, 53%, 67%)
HSVhsv(309, 41%, 84%)
CMYKcmyk(0%, 41.4%, 6%, 15.7%)
CIE-LABlab(64.67, 45.25, -24.81)
CIE-LCHlch(64.67, 51.61, 331.26°)
OKLaboklab(71.37% 0.129 -0.0671)
OKLCHoklch(71.37% 0.145 332.5)
XYZxyz(46.1455, 33.6355, 59.9274)
Luminance0.3363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77ECA #7ED78B
analogous
#B87ED7 #D77ECA #D77E9E
triadic
#D77ECA #CAD77E #7ECAD7
tetradic
#D77ECA #D7B87E #7ED78B #7E9ED7
square
#D77ECA #D7B87E #7ED78B #7E9ED7
split-complementary
#D77ECA #9ED77E #7ED7B8
monochromatic
#A73496 #C94FB7 #D77ECA #E5ADDD #F4DBF0

Accessibility & contrast

On white

2.72
#D77ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#D77ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77ECA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77ECA#FFFFFF#000000##000000
##D77ECA1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CD
Deuteranopia (green-blind)
#94A1C7
Tritanopia (blue-blind)
#DE839B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d77eca;
/* rgb */ color: rgb(215, 126, 202);
/* oklch */ color: oklch(71.4% 0.145 332.5);
Tailwind
colors: {
  custom: {
    50: '#e5a5da',
    500: '#d77eca',
    950: '#000000',
  },
}
SCSS
$custom: #d77eca;
$custom-light: #e5a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#d77eca",
  "rgb": {
    "r": 215,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 308.764,
    "s": 52.663,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71369,
    "c": 0.14538,
    "h": 332.5
  },
  "luminance": 0.33633
}

Semantic roles & 50–950 ramp

primary
#D77ECA
secondary
#CAE7CE
accent
#C03C25
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D77ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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