#D776EC#D776EC

#D776EC is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.7% C 0.191 H 320.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D776EC
RGBrgb(215, 118, 236)
HSLhsl(289, 76%, 69%)
HSVhsv(289, 50%, 93%)
CMYKcmyk(8.9%, 50%, 0%, 7.5%)
CIE-LABlab(64.53, 55.53, -43.98)
CIE-LCHlch(64.53, 70.84, 321.62°)
OKLaboklab(71.74% 0.1465 -0.1218)
OKLCHoklch(71.74% 0.191 320.3)
XYZxyz(49.6412, 33.4621, 83.1846)
Luminance0.3346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D776EC #8BEC76
analogous
#9C76EC #D776EC #EC76C6
triadic
#D776EC #ECD776 #76ECD7
tetradic
#D776EC #EC9C76 #8BEC76 #76C6EC
square
#D776EC #EC9C76 #8BEC76 #76C6EC
split-complementary
#D776EC #C6EC76 #76EC9C
monochromatic
#AC1CCB #C740E5 #D776EC #E7ACF3 #F6E1FB

Accessibility & contrast

On white

2.73
#D776EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D776EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D776EC
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D776EC#FFFFFF#000000##000000
##D776EC1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#80A0E9
Tritanopia (blue-blind)
#D886A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d776ec;
/* rgb */ color: rgb(215, 118, 236);
/* oklch */ color: oklch(71.7% 0.191 320.3);
Tailwind
colors: {
  custom: {
    50: '#e6a1f2',
    500: '#d776ec',
    950: '#000000',
  },
}
SCSS
$custom: #d776ec;
$custom-light: #e6a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d776ec",
  "rgb": {
    "r": 215,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 289.322,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71735,
    "c": 0.19054,
    "h": 320.3
  },
  "luminance": 0.3346
}

Semantic roles & 50–950 ramp

primary
#D776EC
secondary
#D4F0CE
accent
#D80E32
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D776EC

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

Preview Lab → · Contrast checker → · Palette generator →

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