#DC7DF8#DC7DF8

#DC7DF8 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.9% C 0.194 H 318.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#DC7DF8
RGBrgb(220, 125, 248)
HSLhsl(286, 90%, 73%)
HSVhsv(286, 50%, 97%)
CMYKcmyk(11.3%, 49.6%, 0%, 2.7%)
CIE-LABlab(67.02, 55.72, -46.64)
CIE-LCHlch(67.02, 72.66, 320.07°)
OKLaboklab(73.89% 0.1444 -0.1294)
OKLCHoklch(73.89% 0.194 318.1)
XYZxyz(53.7898, 36.6621, 93.0318)
Luminance0.3666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DF8 #99F87D
analogous
#9E7DF8 #DC7DF8 #F87DD7
triadic
#DC7DF8 #F8DC7D #7DF8DC
tetradic
#DC7DF8 #F89E7D #99F87D #7DD7F8
square
#DC7DF8 #F89E7D #99F87D #7DD7F8
split-complementary
#DC7DF8 #D7F87D #7DF89E
monochromatic
#BB0DEE #CC43F5 #DC7DF8 #ECB7FB #F7E2FD

Accessibility & contrast

On white

2.52
#DC7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#DC7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DF8
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DF8#FFFFFF#000000##000000
##DC7DF81.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#83A6F5
Tritanopia (blue-blind)
#DC8FAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7df8;
/* rgb */ color: rgb(220, 125, 248);
/* oklch */ color: oklch(73.9% 0.194 318.1);
Tailwind
colors: {
  custom: {
    50: '#e9a6fb',
    500: '#dc7df8',
    950: '#000000',
  },
}
SCSS
$custom: #dc7df8;
$custom-light: #e9a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7df8",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 286.341,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73888,
    "c": 0.19389,
    "h": 318.1
  },
  "luminance": 0.3666
}

Semantic roles & 50–950 ramp

primary
#DC7DF8
secondary
#DDF6D5
accent
#E60034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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