#DC7EEC#DC7EEC

#DC7EEC is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.4% C 0.180 H 321.6°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#DC7EEC
RGBrgb(220, 126, 236)
HSLhsl(291, 74%, 71%)
HSVhsv(291, 47%, 93%)
CMYKcmyk(6.8%, 46.6%, 0%, 7.5%)
CIE-LABlab(66.67, 52.91, -40.59)
CIE-LCHlch(66.67, 66.68, 322.50°)
OKLaboklab(73.45% 0.1414 -0.112)
OKLCHoklch(73.45% 0.18 321.6)
XYZxyz(52.1147, 36.1956, 83.5819)
Luminance0.3619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EEC #8EEC7E
analogous
#A57EEC #DC7EEC #EC7EC5
triadic
#DC7EEC #ECDC7E #7EECDC
tetradic
#DC7EEC #ECA57E #8EEC7E #7EC5EC
square
#DC7EEC #ECA57E #8EEC7E #7EC5EC
split-complementary
#DC7EEC #C5EC7E #7EECA5
monochromatic
#B71FD1 #CE49E4 #DC7EEC #EAB3F4 #F8E4FB

Accessibility & contrast

On white

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

On black

8.24
#DC7EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EEC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EEC#FFFFFF#000000##000000
##DC7EEC1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#89A6E9
Tritanopia (blue-blind)
#DE8CAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7eec;
/* rgb */ color: rgb(220, 126, 236);
/* oklch */ color: oklch(73.4% 0.180 321.6);
Tailwind
colors: {
  custom: {
    50: '#e9a6f2',
    500: '#dc7eec',
    950: '#000000',
  },
}
SCSS
$custom: #dc7eec;
$custom-light: #e9a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7eec",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 291.273,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73447,
    "c": 0.18035,
    "h": 321.6
  },
  "luminance": 0.36193
}

Semantic roles & 50–950 ramp

primary
#DC7EEC
secondary
#D9F2D4
accent
#D60F2C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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