#DC7DF5#DC7DF5

#DC7DF5 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.7% C 0.191 H 319.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#DC7DF5
RGBrgb(220, 125, 245)
HSLhsl(288, 86%, 73%)
HSVhsv(288, 49%, 96%)
CMYKcmyk(10.2%, 49%, 0%, 3.9%)
CIE-LABlab(66.88, 55.14, -45.21)
CIE-LCHlch(66.88, 71.30, 320.65°)
OKLaboklab(73.74% 0.144 -0.1253)
OKLCHoklch(73.74% 0.191 319)
XYZxyz(53.3281, 36.4774, 90.6002)
Luminance0.3648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DF5 #96F57D
analogous
#A07DF5 #DC7DF5 #F57DD2
triadic
#DC7DF5 #F5DC7D #7DF5DC
tetradic
#DC7DF5 #F5A07D #96F57D #7DD2F5
square
#DC7DF5 #F5A07D #96F57D #7DD2F5
split-complementary
#DC7DF5 #D2F57D #7DF5A0
monochromatic
#BA12E6 #CD44F1 #DC7DF5 #EBB6F9 #F7E3FD

Accessibility & contrast

On white

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

On black

8.30
#DC7DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DF5
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DF5#FFFFFF#000000##000000
##DC7DF51.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF9
Deuteranopia (green-blind)
#84A6F2
Tritanopia (blue-blind)
#DD8EAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7df5;
/* rgb */ color: rgb(220, 125, 245);
/* oklch */ color: oklch(73.7% 0.191 319.0);
Tailwind
colors: {
  custom: {
    50: '#e9a5f9',
    500: '#dc7df5',
    950: '#000000',
  },
}
SCSS
$custom: #dc7df5;
$custom-light: #e9a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7df5",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 287.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73739,
    "c": 0.19088,
    "h": 319
  },
  "luminance": 0.36475
}

Semantic roles & 50–950 ramp

primary
#DC7DF5
secondary
#DDF5D6
accent
#E20332
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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