#DC7DEB#DC7DEB

#DC7DEB is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.3% C 0.181 H 322.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#DC7DEB
RGBrgb(220, 125, 235)
HSLhsl(292, 73%, 71%)
HSVhsv(292, 47%, 92%)
CMYKcmyk(6.4%, 46.8%, 0%, 7.8%)
CIE-LABlab(66.43, 53.22, -40.41)
CIE-LCHlch(66.43, 66.83, 322.79°)
OKLaboklab(73.26% 0.1426 -0.1114)
OKLCHoklch(73.26% 0.181 322)
XYZxyz(51.8426, 35.8832, 82.7765)
Luminance0.3588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DEB #8CEB7D
analogous
#A57DEB #DC7DEB #EB7DC3
triadic
#DC7DEB #EBDC7D #7DEBDC
tetradic
#DC7DEB #EBA57D #8CEB7D #7DC3EB
square
#DC7DEB #EBA57D #8CEB7D #7DC3EB
split-complementary
#DC7DEB #C3EB7D #7DEBA5
monochromatic
#B620CE #CE48E3 #DC7DEB #EAB2F3 #F8E4FB

Accessibility & contrast

On white

2.57
#DC7DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#DC7DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DEB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DEB#FFFFFF#000000##000000
##DC7DEB1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#DF8BA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7deb;
/* rgb */ color: rgb(220, 125, 235);
/* oklch */ color: oklch(73.3% 0.181 322.0);
Tailwind
colors: {
  custom: {
    50: '#e9a5f2',
    500: '#dc7deb',
    950: '#000000',
  },
}
SCSS
$custom: #dc7deb;
$custom-light: #e9a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7deb",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 291.818,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.181,
    "h": 322
  },
  "luminance": 0.35881
}

Semantic roles & 50–950 ramp

primary
#DC7DEB
secondary
#D7F1D3
accent
#D5102B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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