#DC7AF9#DC7AF9

#DC7AF9 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.5% C 0.200 H 318.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#DC7AF9
RGBrgb(220, 122, 249)
HSLhsl(286, 91%, 73%)
HSVhsv(286, 51%, 98%)
CMYKcmyk(11.6%, 51%, 0%, 2.4%)
CIE-LABlab(66.50, 57.41, -48.01)
CIE-LCHlch(66.50, 74.83, 320.09°)
OKLaboklab(73.52% 0.1485 -0.1333)
OKLCHoklch(73.52% 0.2 318.1)
XYZxyz(53.5713, 35.9762, 93.7263)
Luminance0.3597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7AF9 #97F97A
analogous
#9C7AF9 #DC7AF9 #F97AD7
triadic
#DC7AF9 #F9DC7A #7AF9DC
tetradic
#DC7AF9 #F99C7A #97F97A #7AD7F9
square
#DC7AF9 #F99C7A #97F97A #7AD7F9
split-complementary
#DC7AF9 #D7F97A #7AF99C
monochromatic
#BA0BEE #CD3FF6 #DC7AF9 #EBB5FC #F7E2FE

Accessibility & contrast

On white

2.56
#DC7AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#DC7AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7AF9
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7AF9#FFFFFF#000000##000000
##DC7AF91.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#80A5F6
Tritanopia (blue-blind)
#DC8DAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7af9;
/* rgb */ color: rgb(220, 122, 249);
/* oklch */ color: oklch(73.5% 0.200 318.1);
Tailwind
colors: {
  custom: {
    50: '#e9a4fc',
    500: '#dc7af9',
    950: '#000000',
  },
}
SCSS
$custom: #dc7af9;
$custom-light: #e9a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7af9",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 286.299,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73519,
    "c": 0.19956,
    "h": 318.1
  },
  "luminance": 0.35974
}

Semantic roles & 50–950 ramp

primary
#DC7AF9
secondary
#DDF6D5
accent
#E60034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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