#DC7AEC#DC7AEC

#DC7AEC is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.9% C 0.187 H 321.8°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#DC7AEC
RGBrgb(220, 122, 236)
HSLhsl(292, 75%, 70%)
HSVhsv(292, 48%, 93%)
CMYKcmyk(6.8%, 48.3%, 0%, 7.5%)
CIE-LABlab(65.90, 54.91, -41.80)
CIE-LCHlch(65.90, 69.01, 322.72°)
OKLaboklab(72.88% 0.1469 -0.1154)
OKLCHoklch(72.88% 0.187 321.8)
XYZxyz(51.6134, 35.1930, 83.4148)
Luminance0.3519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7AEC #8AEC7A
analogous
#A37AEC #DC7AEC #EC7AC3
triadic
#DC7AEC #ECDC7A #7AECDC
tetradic
#DC7AEC #ECA37A #8AEC7A #7AC3EC
square
#DC7AEC #ECA37A #8AEC7A #7AC3EC
split-complementary
#DC7AEC #C3EC7A #7AECA3
monochromatic
#B51DCE #CE44E4 #DC7AEC #EAB0F4 #F8E4FB

Accessibility & contrast

On white

2.61
#DC7AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#DC7AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7AEC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7AEC#FFFFFF#000000##000000
##DC7AEC1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#DE89A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7aec;
/* rgb */ color: rgb(220, 122, 236);
/* oklch */ color: oklch(72.9% 0.187 321.8);
Tailwind
colors: {
  custom: {
    50: '#e9a3f2',
    500: '#dc7aec',
    950: '#000000',
  },
}
SCSS
$custom: #dc7aec;
$custom-light: #e9a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7aec",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 291.579,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72876,
    "c": 0.18678,
    "h": 321.8
  },
  "luminance": 0.35191
}

Semantic roles & 50–950 ramp

primary
#DC7AEC
secondary
#D6F1D1
accent
#D70E2B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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