#DC7CF9#DC7CF9

#DC7CF9 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.8% C 0.196 H 317.9°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#DC7CF9
RGBrgb(220, 124, 249)
HSLhsl(286, 91%, 73%)
HSVhsv(286, 50%, 98%)
CMYKcmyk(11.6%, 50.2%, 0%, 2.4%)
CIE-LABlab(66.88, 56.42, -47.41)
CIE-LCHlch(66.88, 73.69, 319.96°)
OKLaboklab(73.8% 0.1458 -0.1316)
OKLCHoklch(73.8% 0.196 317.9)
XYZxyz(53.8194, 36.4724, 93.8090)
Luminance0.3647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CF9 #99F97C
analogous
#9D7CF9 #DC7CF9 #F97CD7
triadic
#DC7CF9 #F9DC7C #7CF9DC
tetradic
#DC7CF9 #F99D7C #99F97C #7CD7F9
square
#DC7CF9 #F99D7C #99F97C #7CD7F9
split-complementary
#DC7CF9 #D7F97C #7CF99D
monochromatic
#BB0BF0 #CC41F6 #DC7CF9 #ECB7FC #F7E2FE

Accessibility & contrast

On white

2.53
#DC7CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#DC7CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CF9
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CF9#FFFFFF#000000##000000
##DC7CF91.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFD
Deuteranopia (green-blind)
#81A6F6
Tritanopia (blue-blind)
#DC8EAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7cf9;
/* rgb */ color: rgb(220, 124, 249);
/* oklch */ color: oklch(73.8% 0.196 317.9);
Tailwind
colors: {
  custom: {
    50: '#e9a5fc',
    500: '#dc7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cf9;
$custom-light: #e9a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cf9",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 286.08,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73797,
    "c": 0.19646,
    "h": 317.9
  },
  "luminance": 0.36471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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