#DC7DF4#DC7DF4

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

Color values

HEX#DC7DF4
RGBrgb(220, 125, 244)
HSLhsl(288, 84%, 72%)
HSVhsv(288, 49%, 96%)
CMYKcmyk(9.8%, 48.8%, 0%, 4.3%)
CIE-LABlab(66.84, 54.94, -44.73)
CIE-LCHlch(66.84, 70.85, 320.85°)
OKLaboklab(73.69% 0.1439 -0.1239)
OKLCHoklch(73.69% 0.19 319.3)
XYZxyz(53.1758, 36.4165, 89.7984)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DF4 #95F47D
analogous
#A07DF4 #DC7DF4 #F47DD1
triadic
#DC7DF4 #F4DC7D #7DF4DC
tetradic
#DC7DF4 #F4A07D #95F47D #7DD1F4
square
#DC7DF4 #F4A07D #95F47D #7DD1F4
split-complementary
#DC7DF4 #D1F47D #7DF4A0
monochromatic
#B913E3 #CD45EF #DC7DF4 #EBB5F9 #F7E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC7DF4#FFFFFF#000000##000000
##DC7DF41.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)
#689CF8
Deuteranopia (green-blind)
#85A6F1
Tritanopia (blue-blind)
#DD8DAD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7df4;
/* rgb */ color: rgb(220, 125, 244);
/* oklch */ color: oklch(73.7% 0.190 319.3);
Tailwind
colors: {
  custom: {
    50: '#e9a5f8',
    500: '#dc7df4',
    950: '#000000',
  },
}
SCSS
$custom: #dc7df4;
$custom-light: #e9a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7df4",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 287.899,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7369,
    "c": 0.18988,
    "h": 319.3
  },
  "luminance": 0.36415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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