#DC7ACD#DC7ACD

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

Color values

HEX#DC7ACD
RGBrgb(220, 122, 205)
HSLhsl(309, 58%, 67%)
HSVhsv(309, 45%, 86%)
CMYKcmyk(0%, 44.5%, 6.8%, 13.7%)
CIE-LABlab(64.60, 49.35, -26.55)
CIE-LCHlch(64.60, 56.04, 331.72°)
OKLaboklab(71.48% 0.1412 -0.0719)
OKLCHoklch(71.48% 0.158 333)
XYZxyz(47.4939, 33.5452, 61.7190)
Luminance0.3354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7ACD #7ADC89
analogous
#BA7ADC #DC7ACD #DC7A9C
triadic
#DC7ACD #CDDC7A #7ACDDC
tetradic
#DC7ACD #DCBA7A #7ADC89 #7A9CDC
square
#DC7ACD #DCBA7A #7ADC89 #7A9CDC
split-complementary
#DC7ACD #9CDC7A #7ADCBA
monochromatic
#AE2E9A #CF4ABB #DC7ACD #E9AADF #F6DBF1

Accessibility & contrast

On white

2.72
#DC7ACD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#DC7ACD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7ACD
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7ACD#FFFFFF#000000##000000
##DC7ACD1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#93A2CA
Tritanopia (blue-blind)
#E4809A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc7acd;
/* rgb */ color: rgb(220, 122, 205);
/* oklch */ color: oklch(71.5% 0.158 333.0);
Tailwind
colors: {
  custom: {
    50: '#e9a3dc',
    500: '#dc7acd',
    950: '#000000',
  },
}
SCSS
$custom: #dc7acd;
$custom-light: #e9a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7acd",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 205
  },
  "hsl": {
    "h": 309.184,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71484,
    "c": 0.15842,
    "h": 333
  },
  "luminance": 0.33542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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