#DC7AFD#DC7AFD

#DC7AFD is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 73.7% C 0.204 H 317.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#DC7AFD
RGBrgb(220, 122, 253)
HSLhsl(285, 97%, 74%)
HSVhsv(285, 52%, 99%)
CMYKcmyk(13%, 51.8%, 0%, 0.8%)
CIE-LABlab(66.69, 58.19, -49.90)
CIE-LCHlch(66.69, 76.65, 319.39°)
OKLaboklab(73.72% 0.1489 -0.1388)
OKLCHoklch(73.72% 0.204 317)
XYZxyz(54.2018, 36.2284, 97.0471)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7AFD #9BFD7A
analogous
#9A7AFD #DC7AFD #FD7ADD
triadic
#DC7AFD #FDDC7A #7AFDDC
tetradic
#DC7AFD #FD9A7A #9BFD7A #7ADDFD
square
#DC7AFD #FD9A7A #9BFD7A #7ADDFD
split-complementary
#DC7AFD #DDFD7A #7AFD9A
monochromatic
#BB04F9 #CC3EFC #DC7AFD #ECB6FE #F7E1FF

Accessibility & contrast

On white

2.55
#DC7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#DC7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7AFD
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7AFD#FFFFFF#000000##000000
##DC7AFD1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#DB8EB0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7afd;
/* rgb */ color: rgb(220, 122, 253);
/* oklch */ color: oklch(73.7% 0.204 317.0);
Tailwind
colors: {
  custom: {
    50: '#e9a4fe',
    500: '#dc7afd',
    950: '#000000',
  },
}
SCSS
$custom: #dc7afd;
$custom-light: #e9a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7afd",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 284.885,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73723,
    "c": 0.20356,
    "h": 317
  },
  "luminance": 0.36227
}

Semantic roles & 50–950 ramp

primary
#DC7AFD
secondary
#DDF7D4
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DC7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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