#DC7CEE#DC7CEE

#DC7CEE is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.3% C 0.186 H 321.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#DC7CEE
RGBrgb(220, 124, 238)
HSLhsl(291, 77%, 71%)
HSVhsv(291, 48%, 93%)
CMYKcmyk(7.6%, 47.9%, 0%, 6.7%)
CIE-LABlab(66.37, 54.29, -42.16)
CIE-LCHlch(66.37, 68.74, 322.17°)
OKLaboklab(73.26% 0.1444 -0.1165)
OKLCHoklch(73.26% 0.186 321.1)
XYZxyz(52.1537, 35.8061, 85.0364)
Luminance0.3580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CEE #8EEE7C
analogous
#A37CEE #DC7CEE #EE7CC7
triadic
#DC7CEE #EEDC7C #7CEEDC
tetradic
#DC7CEE #EEA37C #8EEE7C #7CC7EE
square
#DC7CEE #EEA37C #8EEE7C #7CC7EE
split-complementary
#DC7CEE #C7EE7C #7CEEA3
monochromatic
#B71CD4 #CE46E7 #DC7CEE #EAB2F5 #F8E4FB

Accessibility & contrast

On white

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

On black

8.16
#DC7CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CEE
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CEE#FFFFFF#000000##000000
##DC7CEE1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF2
Deuteranopia (green-blind)
#87A5EB
Tritanopia (blue-blind)
#DE8BAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7cee;
/* rgb */ color: rgb(220, 124, 238);
/* oklch */ color: oklch(73.3% 0.186 321.1);
Tailwind
colors: {
  custom: {
    50: '#e9a5f4',
    500: '#dc7cee',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cee;
$custom-light: #e9a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cee",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 290.526,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.18553,
    "h": 321.1
  },
  "luminance": 0.35804
}

Semantic roles & 50–950 ramp

primary
#DC7CEE
secondary
#D9F2D4
accent
#D90C2D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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