#DC7DEE#DC7DEE

#DC7DEE is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.4% C 0.184 H 321.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#DC7DEE
RGBrgb(220, 125, 238)
HSLhsl(290, 77%, 71%)
HSVhsv(290, 47%, 93%)
CMYKcmyk(7.6%, 47.5%, 0%, 6.7%)
CIE-LABlab(66.56, 53.79, -41.86)
CIE-LCHlch(66.56, 68.16, 322.11°)
OKLaboklab(73.4% 0.1431 -0.1156)
OKLCHoklch(73.4% 0.184 321.1)
XYZxyz(52.2796, 36.0580, 85.0784)
Luminance0.3606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DEE #8FEE7D
analogous
#A37DEE #DC7DEE #EE7DC8
triadic
#DC7DEE #EEDC7D #7DEEDC
tetradic
#DC7DEE #EEA37D #8FEE7D #7DC8EE
square
#DC7DEE #EEA37D #8FEE7D #7DC8EE
split-complementary
#DC7DEE #C8EE7D #7DEEA3
monochromatic
#B71CD5 #CD47E7 #DC7DEE #EBB3F5 #F8E4FB

Accessibility & contrast

On white

2.56
#DC7DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#DC7DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DEE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DEE#FFFFFF#000000##000000
##DC7DEE1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF2
Deuteranopia (green-blind)
#88A6EB
Tritanopia (blue-blind)
#DE8CAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7dee;
/* rgb */ color: rgb(220, 125, 238);
/* oklch */ color: oklch(73.4% 0.184 321.1);
Tailwind
colors: {
  custom: {
    50: '#e9a5f4',
    500: '#dc7dee',
    950: '#000000',
  },
}
SCSS
$custom: #dc7dee;
$custom-light: #e9a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7dee",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 290.442,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73399,
    "c": 0.18393,
    "h": 321.1
  },
  "luminance": 0.36056
}

Semantic roles & 50–950 ramp

primary
#DC7DEE
secondary
#D9F2D5
accent
#D90C2D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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