#DC7EEA#DC7EEA

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

Color values

HEX#DC7EEA
RGBrgb(220, 126, 234)
HSLhsl(292, 72%, 71%)
HSVhsv(292, 46%, 92%)
CMYKcmyk(6%, 46.2%, 0%, 8.2%)
CIE-LABlab(66.58, 52.53, -39.63)
CIE-LCHlch(66.58, 65.80, 322.97°)
OKLaboklab(73.35% 0.1411 -0.1092)
OKLCHoklch(73.35% 0.178 322.3)
XYZxyz(51.8257, 36.0800, 82.0602)
Luminance0.3608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EEA #8CEA7E
analogous
#A67EEA #DC7EEA #EA7EC2
triadic
#DC7EEA #EADC7E #7EEADC
tetradic
#DC7EEA #EAA67E #8CEA7E #7EC2EA
square
#DC7EEA #EAA67E #8CEA7E #7EC2EA
split-complementary
#DC7EEA #C2EA7E #7EEAA6
monochromatic
#B621CC #CE49E1 #DC7EEA #EAB3F3 #F8E5FB

Accessibility & contrast

On white

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

On black

8.22
#DC7EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EEA
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EEA#FFFFFF#000000##000000
##DC7EEA1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#8AA6E7
Tritanopia (blue-blind)
#DF8BA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7eea;
/* rgb */ color: rgb(220, 126, 234);
/* oklch */ color: oklch(73.4% 0.178 322.3);
Tailwind
colors: {
  custom: {
    50: '#e9a6f1',
    500: '#dc7eea',
    950: '#000000',
  },
}
SCSS
$custom: #dc7eea;
$custom-light: #e9a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7eea",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 292.222,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73353,
    "c": 0.17839,
    "h": 322.3
  },
  "luminance": 0.36078
}

Semantic roles & 50–950 ramp

primary
#DC7EEA
secondary
#D7F1D3
accent
#D4112B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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