#DC7AF7#DC7AF7

#DC7AF7 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.4% C 0.198 H 318.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#DC7AF7
RGBrgb(220, 122, 247)
HSLhsl(287, 89%, 72%)
HSVhsv(287, 51%, 97%)
CMYKcmyk(10.9%, 50.6%, 0%, 3.1%)
CIE-LABlab(66.41, 57.02, -47.06)
CIE-LCHlch(66.41, 73.93, 320.46°)
OKLaboklab(73.42% 0.1483 -0.1306)
OKLCHoklch(73.42% 0.198 318.6)
XYZxyz(53.2610, 35.8521, 92.0922)
Luminance0.3585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7AF7 #95F77A
analogous
#9E7AF7 #DC7AF7 #F77AD3
triadic
#DC7AF7 #F7DC7A #7AF7DC
tetradic
#DC7AF7 #F79E7A #95F77A #7AD3F7
square
#DC7AF7 #F79E7A #95F77A #7AD3F7
split-complementary
#DC7AF7 #D3F77A #7AF79E
monochromatic
#B90EE9 #CD40F4 #DC7AF7 #EBB4FA #F7E2FD

Accessibility & contrast

On white

2.57
#DC7AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#DC7AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7AF7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7AF7#FFFFFF#000000##000000
##DC7AF71.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#81A5F4
Tritanopia (blue-blind)
#DC8CAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7af7;
/* rgb */ color: rgb(220, 122, 247);
/* oklch */ color: oklch(73.4% 0.198 318.6);
Tailwind
colors: {
  custom: {
    50: '#e9a4fa',
    500: '#dc7af7',
    950: '#000000',
  },
}
SCSS
$custom: #dc7af7;
$custom-light: #e9a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7af7",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 287.04,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73417,
    "c": 0.19757,
    "h": 318.6
  },
  "luminance": 0.3585
}

Semantic roles & 50–950 ramp

primary
#DC7AF7
secondary
#DDF5D6
accent
#E50032
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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