#DC7DDF#DC7DDF

#DC7DDF is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.7% C 0.169 H 326.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#DC7DDF
RGBrgb(220, 125, 223)
HSLhsl(298, 60%, 68%)
HSVhsv(298, 44%, 87%)
CMYKcmyk(1.3%, 43.9%, 0%, 12.5%)
CIE-LABlab(65.91, 51.00, -34.57)
CIE-LCHlch(65.91, 61.61, 325.87°)
OKLaboklab(72.7% 0.1406 -0.0947)
OKLCHoklch(72.7% 0.169 326)
XYZxyz(50.1670, 35.2130, 73.9520)
Luminance0.3521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DDF #80DF7D
analogous
#AB7DDF #DC7DDF #DF7DB1
triadic
#DC7DDF #DFDC7D #7DDFDC
tetradic
#DC7DDF #DFAB7D #80DF7D #7DB1DF
square
#DC7DDF #DFAB7D #80DF7D #7DB1DF
split-complementary
#DC7DDF #B1DF7D #7DDFAB
monochromatic
#B12DB5 #CF4CD3 #DC7DDF #E9AEEB #F6DFF7

Accessibility & contrast

On white

2.61
#DC7DDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#DC7DDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DDF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DDF#FFFFFF#000000##000000
##DC7DDF1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#8EA4DC
Tritanopia (blue-blind)
#E187A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7ddf;
/* rgb */ color: rgb(220, 125, 223);
/* oklch */ color: oklch(72.7% 0.169 326.0);
Tailwind
colors: {
  custom: {
    50: '#e9a5e9',
    500: '#dc7ddf',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ddf;
$custom-light: #e9a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ddf",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 298.163,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72702,
    "c": 0.16949,
    "h": 326
  },
  "luminance": 0.35211
}

Semantic roles & 50–950 ramp

primary
#DC7DDF
secondary
#CEEBCD
accent
#C81D23
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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