#DC7CF8#DC7CF8

#DC7CF8 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.7% C 0.195 H 318.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#DC7CF8
RGBrgb(220, 124, 248)
HSLhsl(286, 90%, 73%)
HSVhsv(286, 50%, 97%)
CMYKcmyk(11.3%, 50%, 0%, 2.7%)
CIE-LABlab(66.83, 56.22, -46.94)
CIE-LCHlch(66.83, 73.24, 320.14°)
OKLaboklab(73.75% 0.1457 -0.1303)
OKLCHoklch(73.75% 0.195 318.2)
XYZxyz(53.6638, 36.4102, 92.9898)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CF8 #98F87C
analogous
#9E7CF8 #DC7CF8 #F87CD6
triadic
#DC7CF8 #F8DC7C #7CF8DC
tetradic
#DC7CF8 #F89E7C #98F87C #7CD6F8
square
#DC7CF8 #F89E7C #98F87C #7CD6F8
split-complementary
#DC7CF8 #D6F87C #7CF89E
monochromatic
#BA0DED #CC42F5 #DC7CF8 #ECB6FB #F7E2FD

Accessibility & contrast

On white

2.54
#DC7CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#DC7CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CF8
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CF8#FFFFFF#000000##000000
##DC7CF81.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFC
Deuteranopia (green-blind)
#82A6F5
Tritanopia (blue-blind)
#DC8EAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7cf8;
/* rgb */ color: rgb(220, 124, 248);
/* oklch */ color: oklch(73.7% 0.195 318.2);
Tailwind
colors: {
  custom: {
    50: '#e9a5fb',
    500: '#dc7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cf8;
$custom-light: #e9a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cf8",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 286.452,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73747,
    "c": 0.19546,
    "h": 318.2
  },
  "luminance": 0.36408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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