#DC7ACC#DC7ACC

#DC7ACC is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.158 H 333.4°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#DC7ACC
RGBrgb(220, 122, 204)
HSLhsl(310, 58%, 67%)
HSVhsv(310, 45%, 86%)
CMYKcmyk(0%, 44.5%, 7.3%, 13.7%)
CIE-LABlab(64.56, 49.19, -26.05)
CIE-LCHlch(64.56, 55.66, 332.09°)
OKLaboklab(71.44% 0.1409 -0.0705)
OKLCHoklch(71.44% 0.158 333.4)
XYZxyz(47.3736, 33.4971, 61.0854)
Luminance0.3349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7ACC #7ADC8A
analogous
#BB7ADC #DC7ACC #DC7A9B
triadic
#DC7ACC #CCDC7A #7ACCDC
tetradic
#DC7ACC #DCBB7A #7ADC8A #7A9BDC
square
#DC7ACC #DCBB7A #7ADC8A #7A9BDC
split-complementary
#DC7ACC #9BDC7A #7ADCBB
monochromatic
#AE2E99 #CF4AB9 #DC7ACC #E9AADF #F6DBF1

Accessibility & contrast

On white

2.73
#DC7ACC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#DC7ACC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7ACC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7ACC#FFFFFF#000000##000000
##DC7ACC1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CF
Deuteranopia (green-blind)
#93A2C9
Tritanopia (blue-blind)
#E4809A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc7acc;
/* rgb */ color: rgb(220, 122, 204);
/* oklch */ color: oklch(71.4% 0.158 333.4);
Tailwind
colors: {
  custom: {
    50: '#e9a3db',
    500: '#dc7acc',
    950: '#000000',
  },
}
SCSS
$custom: #dc7acc;
$custom-light: #e9a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7acc",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 309.796,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71442,
    "c": 0.15757,
    "h": 333.4
  },
  "luminance": 0.33494
}

Semantic roles & 50–950 ramp

primary
#DC7ACC
secondary
#C9E8CE
accent
#C63B20
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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