#DC7AEA#DC7AEA

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

Color values

HEX#DC7AEA
RGBrgb(220, 122, 234)
HSLhsl(293, 73%, 70%)
HSVhsv(293, 48%, 92%)
CMYKcmyk(6%, 47.9%, 0%, 8.2%)
CIE-LABlab(65.81, 54.54, -40.83)
CIE-LCHlch(65.81, 68.13, 323.18°)
OKLaboklab(72.78% 0.1466 -0.1126)
OKLCHoklch(72.78% 0.185 322.5)
XYZxyz(51.3244, 35.0775, 81.8931)
Luminance0.3508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7AEA #88EA7A
analogous
#A47AEA #DC7AEA #EA7AC0
triadic
#DC7AEA #EADC7A #7AEADC
tetradic
#DC7AEA #EAA47A #88EA7A #7AC0EA
square
#DC7AEA #EAA47A #88EA7A #7AC0EA
split-complementary
#DC7AEA #C0EA7A #7AEAA4
monochromatic
#B520CA #CE45E2 #DC7AEA #EAAFF2 #F8E4FB

Accessibility & contrast

On white

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

On black

8.01
#DC7AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7AEA
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7AEA#FFFFFF#000000##000000
##DC7AEA1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EE
Deuteranopia (green-blind)
#87A4E7
Tritanopia (blue-blind)
#DF88A7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7aea;
/* rgb */ color: rgb(220, 122, 234);
/* oklch */ color: oklch(72.8% 0.185 322.5);
Tailwind
colors: {
  custom: {
    50: '#e9a3f1',
    500: '#dc7aea',
    950: '#000000',
  },
}
SCSS
$custom: #dc7aea;
$custom-light: #e9a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7aea",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 292.5,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7278,
    "c": 0.18485,
    "h": 322.5
  },
  "luminance": 0.35075
}

Semantic roles & 50–950 ramp

primary
#DC7AEA
secondary
#D4F0D0
accent
#D51129
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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