#DC7DF3#DC7DF3

#DC7DF3 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.6% C 0.189 H 319.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#DC7DF3
RGBrgb(220, 125, 243)
HSLhsl(288, 83%, 72%)
HSVhsv(288, 49%, 95%)
CMYKcmyk(9.5%, 48.6%, 0%, 4.7%)
CIE-LABlab(66.79, 54.75, -44.26)
CIE-LCHlch(66.79, 70.40, 321.05°)
OKLaboklab(73.64% 0.1438 -0.1225)
OKLCHoklch(73.64% 0.189 319.6)
XYZxyz(53.0244, 36.3559, 89.0009)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DF3 #94F37D
analogous
#A17DF3 #DC7DF3 #F37DCF
triadic
#DC7DF3 #F3DC7D #7DF3DC
tetradic
#DC7DF3 #F3A17D #94F37D #7DCFF3
square
#DC7DF3 #F3A17D #94F37D #7DCFF3
split-complementary
#DC7DF3 #CFF37D #7DF3A1
monochromatic
#B915E1 #CD45EE #DC7DF3 #EBB5F8 #F7E3FC

Accessibility & contrast

On white

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

On black

8.27
#DC7DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DF3
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DF3#FFFFFF#000000##000000
##DC7DF31.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF7
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#DD8DAD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7df3;
/* rgb */ color: rgb(220, 125, 243);
/* oklch */ color: oklch(73.6% 0.189 319.6);
Tailwind
colors: {
  custom: {
    50: '#e9a5f7',
    500: '#dc7df3',
    950: '#000000',
  },
}
SCSS
$custom: #dc7df3;
$custom-light: #e9a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7df3",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 288.305,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73641,
    "c": 0.18889,
    "h": 319.6
  },
  "luminance": 0.36354
}

Semantic roles & 50–950 ramp

primary
#DC7DF3
secondary
#DCF4D7
accent
#E00630
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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