#DC7AEF#DC7AEF

#DC7AEF is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.0% C 0.190 H 320.9°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#DC7AEF
RGBrgb(220, 122, 239)
HSLhsl(290, 79%, 71%)
HSVhsv(290, 49%, 94%)
CMYKcmyk(7.9%, 49%, 0%, 6.3%)
CIE-LABlab(66.03, 55.48, -43.24)
CIE-LCHlch(66.03, 70.34, 322.07°)
OKLaboklab(73.02% 0.1473 -0.1196)
OKLCHoklch(73.02% 0.19 320.9)
XYZxyz(52.0529, 35.3688, 85.7296)
Luminance0.3537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7AEF #8DEF7A
analogous
#A17AEF #DC7AEF #EF7AC8
triadic
#DC7AEF #EFDC7A #7AEFDC
tetradic
#DC7AEF #EFA17A #8DEF7A #7AC8EF
square
#DC7AEF #EFA17A #8DEF7A #7AC8EF
split-complementary
#DC7AEF #C8EF7A #7AEFA1
monochromatic
#B71AD5 #CE43E8 #DC7AEF #EAB1F6 #F8E4FC

Accessibility & contrast

On white

2.60
#DC7AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#DC7AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7AEF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7AEF#FFFFFF#000000##000000
##DC7AEF1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#85A4EC
Tritanopia (blue-blind)
#DE8AAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7aef;
/* rgb */ color: rgb(220, 122, 239);
/* oklch */ color: oklch(73.0% 0.190 320.9);
Tailwind
colors: {
  custom: {
    50: '#e9a4f4',
    500: '#dc7aef',
    950: '#000000',
  },
}
SCSS
$custom: #dc7aef;
$custom-light: #e9a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7aef",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 290.256,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73021,
    "c": 0.1897,
    "h": 320.9
  },
  "luminance": 0.35367
}

Semantic roles & 50–950 ramp

primary
#DC7AEF
secondary
#D8F2D3
accent
#DB0B2C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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