#DC77EC#DC77EC

#DC77EC is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.5% C 0.192 H 322.0°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#DC77EC
RGBrgb(220, 119, 236)
HSLhsl(292, 75%, 70%)
HSVhsv(292, 50%, 93%)
CMYKcmyk(6.8%, 49.6%, 0%, 7.5%)
CIE-LABlab(65.33, 56.40, -42.69)
CIE-LCHlch(65.33, 70.73, 322.88°)
OKLaboklab(72.46% 0.1509 -0.1179)
OKLCHoklch(72.46% 0.192 322)
XYZxyz(51.2507, 34.4677, 83.2939)
Luminance0.3447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC77EC #87EC77
analogous
#A277EC #DC77EC #EC77C2
triadic
#DC77EC #ECDC77 #77ECDC
tetradic
#DC77EC #ECA277 #87EC77 #77C2EC
square
#DC77EC #ECA277 #87EC77 #77C2EC
split-complementary
#DC77EC #C2EC77 #77ECA2
monochromatic
#B41DCC #CE41E4 #DC77EC #EAADF4 #F8E2FB

Accessibility & contrast

On white

2.66
#DC77EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#DC77EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC77EC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC77EC#FFFFFF#000000##000000
##DC77EC1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#DF86A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc77ec;
/* rgb */ color: rgb(220, 119, 236);
/* oklch */ color: oklch(72.5% 0.192 322.0);
Tailwind
colors: {
  custom: {
    50: '#e9a2f2',
    500: '#dc77ec',
    950: '#000000',
  },
}
SCSS
$custom: #dc77ec;
$custom-light: #e9a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc77ec",
  "rgb": {
    "r": 220,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 291.795,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72456,
    "c": 0.19154,
    "h": 322
  },
  "luminance": 0.34465
}

Semantic roles & 50–950 ramp

primary
#DC77EC
secondary
#D3F0CF
accent
#D80E29
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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