#DC7DF9#DC7DF9

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

Color values

HEX#DC7DF9
RGBrgb(220, 125, 249)
HSLhsl(286, 91%, 73%)
HSVhsv(286, 50%, 98%)
CMYKcmyk(11.6%, 49.8%, 0%, 2.4%)
CIE-LABlab(67.07, 55.92, -47.11)
CIE-LCHlch(67.07, 73.12, 319.88°)
OKLaboklab(73.94% 0.1445 -0.1308)
OKLCHoklch(73.94% 0.195 317.9)
XYZxyz(53.9453, 36.7243, 93.8510)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DF9 #9AF97D
analogous
#9E7DF9 #DC7DF9 #F97DD8
triadic
#DC7DF9 #F9DC7D #7DF9DC
tetradic
#DC7DF9 #F99E7D #9AF97D #7DD8F9
square
#DC7DF9 #F99E7D #9AF97D #7DD8F9
split-complementary
#DC7DF9 #D8F97D #7DF99E
monochromatic
#BB0BF0 #CC42F6 #DC7DF9 #ECB7FC #F7E2FE

Accessibility & contrast

On white

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

On black

8.34
#DC7DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DF9
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DF9#FFFFFF#000000##000000
##DC7DF91.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#82A6F6
Tritanopia (blue-blind)
#DC8FB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7df9;
/* rgb */ color: rgb(220, 125, 249);
/* oklch */ color: oklch(73.9% 0.195 317.9);
Tailwind
colors: {
  custom: {
    50: '#e9a6fc',
    500: '#dc7df9',
    950: '#000000',
  },
}
SCSS
$custom: #dc7df9;
$custom-light: #e9a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7df9",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 285.968,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73938,
    "c": 0.19489,
    "h": 317.9
  },
  "luminance": 0.36722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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