#D077EC#D077EC

#D077EC is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.1% C 0.186 H 317.6°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D077EC
RGBrgb(208, 119, 236)
HSLhsl(286, 75%, 70%)
HSVhsv(286, 50%, 93%)
CMYKcmyk(11.9%, 49.6%, 0%, 7.5%)
CIE-LABlab(63.89, 53.14, -45.06)
CIE-LCHlch(63.89, 69.67, 319.70°)
OKLaboklab(71.08% 0.1371 -0.1251)
OKLCHoklch(71.08% 0.186 317.6)
XYZxyz(47.7474, 32.6613, 83.1297)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D077EC #93EC77
analogous
#9677EC #D077EC #EC77CE
triadic
#D077EC #ECD077 #77ECD0
tetradic
#D077EC #EC9677 #93EC77 #77CEEC
square
#D077EC #EC9677 #93EC77 #77CEEC
split-complementary
#D077EC #CEEC77 #77EC96
monochromatic
#A21DCC #BD41E4 #D077EC #E3ADF4 #F5E2FB

Accessibility & contrast

On white

2.79
#D077EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#D077EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D077EC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D077EC#FFFFFF#000000##000000
##D077EC1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#D088A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d077ec;
/* rgb */ color: rgb(208, 119, 236);
/* oklch */ color: oklch(71.1% 0.186 317.6);
Tailwind
colors: {
  custom: {
    50: '#e0a1f2',
    500: '#d077ec',
    950: '#000000',
  },
}
SCSS
$custom: #d077ec;
$custom-light: #e0a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d077ec",
  "rgb": {
    "r": 208,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 285.641,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71076,
    "c": 0.18557,
    "h": 317.6
  },
  "luminance": 0.3266
}

Semantic roles & 50–950 ramp

primary
#D077EC
secondary
#D7F0CF
accent
#D80E3E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D077EC

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

Preview Lab → · Contrast checker → · Palette generator →

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