#DC77F2#DC77F2

#DC77F2 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.8% C 0.197 H 320.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#DC77F2
RGBrgb(220, 119, 242)
HSLhsl(289, 83%, 71%)
HSVhsv(289, 51%, 95%)
CMYKcmyk(9.1%, 50.8%, 0%, 5.1%)
CIE-LABlab(65.61, 57.53, -45.56)
CIE-LCHlch(65.61, 73.39, 321.62°)
OKLaboklab(72.75% 0.1517 -0.1262)
OKLCHoklch(72.75% 0.197 320.2)
XYZxyz(52.1371, 34.8222, 87.9622)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC77F2 #8DF277
analogous
#9E77F2 #DC77F2 #F277CA
triadic
#DC77F2 #F2DC77 #77F2DC
tetradic
#DC77F2 #F29E77 #8DF277 #77CAF2
square
#DC77F2 #F29E77 #8DF277 #77CAF2
split-complementary
#DC77F2 #CAF277 #77F29E
monochromatic
#B715DA #CE3FED #DC77F2 #EAAFF7 #F8E3FC

Accessibility & contrast

On white

2.64
#DC77F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#DC77F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC77F2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC77F2#FFFFFF#000000##000000
##DC77F21.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#81A3EF
Tritanopia (blue-blind)
#DD88AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc77f2;
/* rgb */ color: rgb(220, 119, 242);
/* oklch */ color: oklch(72.8% 0.197 320.2);
Tailwind
colors: {
  custom: {
    50: '#e9a2f7',
    500: '#dc77f2',
    950: '#000000',
  },
}
SCSS
$custom: #dc77f2;
$custom-light: #e9a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc77f2",
  "rgb": {
    "r": 220,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 289.268,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72752,
    "c": 0.19733,
    "h": 320.2
  },
  "luminance": 0.3482
}

Semantic roles & 50–950 ramp

primary
#DC77F2
secondary
#D8F3D2
accent
#DF072D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC77F2

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

Preview Lab → · Contrast checker → · Palette generator →

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