#DC7AF4#DC7AF4

#DC7AF4 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.3% C 0.195 H 319.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#DC7AF4
RGBrgb(220, 122, 244)
HSLhsl(288, 85%, 72%)
HSVhsv(288, 50%, 96%)
CMYKcmyk(9.8%, 50%, 0%, 4.3%)
CIE-LABlab(66.27, 56.44, -45.63)
CIE-LCHlch(66.27, 72.58, 321.04°)
OKLaboklab(73.27% 0.1479 -0.1265)
OKLCHoklch(73.27% 0.195 319.5)
XYZxyz(52.8018, 35.6684, 89.6737)
Luminance0.3567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7AF4 #92F47A
analogous
#9F7AF4 #DC7AF4 #F47ACF
triadic
#DC7AF4 #F4DC7A #7AF4DC
tetradic
#DC7AF4 #F49F7A #92F47A #7ACFF4
square
#DC7AF4 #F49F7A #92F47A #7ACFF4
split-complementary
#DC7AF4 #CFF47A #7AF49F
monochromatic
#B813E1 #CD41EF #DC7AF4 #EBB3F9 #F8E3FD

Accessibility & contrast

On white

2.58
#DC7AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#DC7AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7AF4
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7AF4#FFFFFF#000000##000000
##DC7AF41.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF8
Deuteranopia (green-blind)
#82A5F1
Tritanopia (blue-blind)
#DD8BAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7af4;
/* rgb */ color: rgb(220, 122, 244);
/* oklch */ color: oklch(73.3% 0.195 319.5);
Tailwind
colors: {
  custom: {
    50: '#e9a4f8',
    500: '#dc7af4',
    950: '#000000',
  },
}
SCSS
$custom: #dc7af4;
$custom-light: #e9a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7af4",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 288.197,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73267,
    "c": 0.19461,
    "h": 319.5
  },
  "luminance": 0.35666
}

Semantic roles & 50–950 ramp

primary
#DC7AF4
secondary
#DCF4D5
accent
#E10430
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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