#DC7EEB#DC7EEB

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

Color values

HEX#DC7EEB
RGBrgb(220, 126, 235)
HSLhsl(292, 73%, 71%)
HSVhsv(292, 46%, 92%)
CMYKcmyk(6.4%, 46.4%, 0%, 7.8%)
CIE-LABlab(66.63, 52.72, -40.11)
CIE-LCHlch(66.63, 66.24, 322.74°)
OKLaboklab(73.4% 0.1412 -0.1106)
OKLCHoklch(73.4% 0.179 321.9)
XYZxyz(51.9698, 36.1377, 82.8189)
Luminance0.3614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EEB #8DEB7E
analogous
#A57EEB #DC7EEB #EB7EC3
triadic
#DC7EEB #EBDC7E #7EEBDC
tetradic
#DC7EEB #EBA57E #8DEB7E #7EC3EB
square
#DC7EEB #EBA57E #8DEB7E #7EC3EB
split-complementary
#DC7EEB #C3EB7E #7EEBA5
monochromatic
#B720CF #CE49E3 #DC7EEB #EAB3F3 #F8E5FB

Accessibility & contrast

On white

2.55
#DC7EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#DC7EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EEB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EEB#FFFFFF#000000##000000
##DC7EEB1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#DE8CAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7eeb;
/* rgb */ color: rgb(220, 126, 235);
/* oklch */ color: oklch(73.4% 0.179 321.9);
Tailwind
colors: {
  custom: {
    50: '#e9a6f2',
    500: '#dc7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #dc7eeb;
$custom-light: #e9a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7eeb",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 291.743,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.734,
    "c": 0.17937,
    "h": 321.9
  },
  "luminance": 0.36136
}

Semantic roles & 50–950 ramp

primary
#DC7EEB
secondary
#D8F1D4
accent
#D5102B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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