#DC7EEF#DC7EEF

#DC7EEF is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.6% C 0.183 H 320.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#DC7EEF
RGBrgb(220, 126, 239)
HSLhsl(290, 78%, 72%)
HSVhsv(290, 47%, 94%)
CMYKcmyk(7.9%, 47.3%, 0%, 6.3%)
CIE-LABlab(66.80, 53.48, -42.04)
CIE-LCHlch(66.80, 68.02, 321.83°)
OKLaboklab(73.59% 0.1418 -0.1161)
OKLCHoklch(73.59% 0.183 320.7)
XYZxyz(52.5542, 36.3714, 85.8967)
Luminance0.3637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EEF #91EF7E
analogous
#A47EEF #DC7EEF #EF7EC9
triadic
#DC7EEF #EFDC7E #7EEFDC
tetradic
#DC7EEF #EFA47E #91EF7E #7EC9EF
square
#DC7EEF #EFA47E #91EF7E #7EC9EF
split-complementary
#DC7EEF #C9EF7E #7EEFA4
monochromatic
#B81BD8 #CD48E8 #DC7EEF #EBB4F6 #F8E4FC

Accessibility & contrast

On white

2.54
#DC7EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#DC7EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EEF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EEF#FFFFFF#000000##000000
##DC7EEF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#DE8DAC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7eef;
/* rgb */ color: rgb(220, 126, 239);
/* oklch */ color: oklch(73.6% 0.183 320.7);
Tailwind
colors: {
  custom: {
    50: '#e9a6f4',
    500: '#dc7eef',
    950: '#000000',
  },
}
SCSS
$custom: #dc7eef;
$custom-light: #e9a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7eef",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 289.912,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7359,
    "c": 0.18331,
    "h": 320.7
  },
  "luminance": 0.36369
}

Semantic roles & 50–950 ramp

primary
#DC7EEF
secondary
#DBF3D6
accent
#DA0B2E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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