#DC7AEB#DC7AEB

#DC7AEB is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.8% C 0.186 H 322.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#DC7AEB
RGBrgb(220, 122, 235)
HSLhsl(292, 74%, 70%)
HSVhsv(292, 48%, 92%)
CMYKcmyk(6.4%, 48.1%, 0%, 7.8%)
CIE-LABlab(65.85, 54.72, -41.32)
CIE-LCHlch(65.85, 68.57, 322.95°)
OKLaboklab(72.83% 0.1467 -0.114)
OKLCHoklch(72.83% 0.186 322.1)
XYZxyz(51.4685, 35.1351, 82.6518)
Luminance0.3513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7AEB #89EB7A
analogous
#A37AEB #DC7AEB #EB7AC2
triadic
#DC7AEB #EBDC7A #7AEBDC
tetradic
#DC7AEB #EBA37A #89EB7A #7AC2EB
square
#DC7AEB #EBA37A #89EB7A #7AC2EB
split-complementary
#DC7AEB #C2EB7A #7AEBA3
monochromatic
#B51FCC #CE45E3 #DC7AEB #EAAFF3 #F8E4FB

Accessibility & contrast

On white

2.62
#DC7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#DC7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7AEB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7AEB#FFFFFF#000000##000000
##DC7AEB1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#DF88A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7aeb;
/* rgb */ color: rgb(220, 122, 235);
/* oklch */ color: oklch(72.8% 0.186 322.1);
Tailwind
colors: {
  custom: {
    50: '#e9a3f2',
    500: '#dc7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #dc7aeb;
$custom-light: #e9a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7aeb",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 292.035,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.72828,
    "c": 0.18582,
    "h": 322.1
  },
  "luminance": 0.35133
}

Semantic roles & 50–950 ramp

primary
#DC7AEB
secondary
#D5F0D1
accent
#D6102A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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