#DC7AE2#DC7AE2

#DC7AE2 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.4% C 0.177 H 325.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#DC7AE2
RGBrgb(220, 122, 226)
HSLhsl(297, 64%, 68%)
HSVhsv(297, 46%, 89%)
CMYKcmyk(2.7%, 46%, 0%, 11.4%)
CIE-LABlab(65.46, 53.05, -36.95)
CIE-LCHlch(65.46, 64.65, 325.15°)
OKLaboklab(72.41% 0.1453 -0.1015)
OKLCHoklch(72.41% 0.177 325.1)
XYZxyz(50.2010, 34.6281, 75.9764)
Luminance0.3463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7AE2 #80E27A
analogous
#A87AE2 #DC7AE2 #E27AB4
triadic
#DC7AE2 #E2DC7A #7AE2DC
tetradic
#DC7AE2 #E2A87A #80E27A #7AB4E2
square
#DC7AE2 #E2A87A #80E27A #7AB4E2
split-complementary
#DC7AE2 #B4E27A #7AE2A8
monochromatic
#B128B9 #CF48D7 #DC7AE2 #E9ACED #F6DEF8

Accessibility & contrast

On white

2.65
#DC7AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#DC7AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7AE2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7AE2#FFFFFF#000000##000000
##DC7AE21.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#8BA3DF
Tritanopia (blue-blind)
#E086A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7ae2;
/* rgb */ color: rgb(220, 122, 226);
/* oklch */ color: oklch(72.4% 0.177 325.1);
Tailwind
colors: {
  custom: {
    50: '#e9a3eb',
    500: '#dc7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ae2;
$custom-light: #e9a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ae2",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 296.538,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72405,
    "c": 0.17723,
    "h": 325.1
  },
  "luminance": 0.34626
}

Semantic roles & 50–950 ramp

primary
#DC7AE2
secondary
#CEECCC
accent
#CC1924
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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