#DC7CFC#DC7CFC

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

Color values

HEX#DC7CFC
RGBrgb(220, 124, 252)
HSLhsl(285, 96%, 74%)
HSVhsv(285, 51%, 99%)
CMYKcmyk(12.7%, 50.8%, 0%, 1.2%)
CIE-LABlab(67.02, 57.01, -48.83)
CIE-LCHlch(67.02, 75.06, 319.42°)
OKLaboklab(73.95% 0.1462 -0.1357)
OKLCHoklch(73.95% 0.199 317.1)
XYZxyz(54.2910, 36.6610, 96.2930)
Luminance0.3666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CFC #9CFC7C
analogous
#9C7CFC #DC7CFC #FC7CDC
triadic
#DC7CFC #FCDC7C #7CFCDC
tetradic
#DC7CFC #FC9C7C #9CFC7C #7CDCFC
square
#DC7CFC #FC9C7C #9CFC7C #7CDCFC
split-complementary
#DC7CFC #DCFC7C #7CFC9C
monochromatic
#BB06F8 #CC40FB #DC7CFC #ECB8FD #F7E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC7CFC#FFFFFF#000000##000000
##DC7CFC1.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)
#629DFF
Deuteranopia (green-blind)
#80A6F9
Tritanopia (blue-blind)
#DB8FB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7cfc;
/* rgb */ color: rgb(220, 124, 252);
/* oklch */ color: oklch(73.9% 0.199 317.1);
Tailwind
colors: {
  custom: {
    50: '#e9a5fe',
    500: '#dc7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cfc;
$custom-light: #e9a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cfc",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 285,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73949,
    "c": 0.19948,
    "h": 317.1
  },
  "luminance": 0.36659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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