#DC7DDE#DC7DDE

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

Color values

HEX#DC7DDE
RGBrgb(220, 125, 222)
HSLhsl(299, 60%, 68%)
HSVhsv(299, 44%, 87%)
CMYKcmyk(0.9%, 43.7%, 0%, 12.9%)
CIE-LABlab(65.87, 50.82, -34.08)
CIE-LCHlch(65.87, 61.19, 326.15°)
OKLaboklab(72.66% 0.1404 -0.0933)
OKLCHoklch(72.66% 0.169 326.4)
XYZxyz(50.0326, 35.1592, 73.2441)
Luminance0.3516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DDE #7FDE7D
analogous
#AB7DDE #DC7DDE #DE7DAF
triadic
#DC7DDE #DEDC7D #7DDEDC
tetradic
#DC7DDE #DEAB7D #7FDE7D #7DAFDE
square
#DC7DDE #DEAB7D #7FDE7D #7DAFDE
split-complementary
#DC7DDE #AFDE7D #7DDEAB
monochromatic
#B02DB3 #CF4CD2 #DC7DDE #E9AEEA #F6DFF7

Accessibility & contrast

On white

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

On black

8.03
#DC7DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DDE
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DDE#FFFFFF#000000##000000
##DC7DDE1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E1
Deuteranopia (green-blind)
#8FA4DB
Tritanopia (blue-blind)
#E187A3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7dde;
/* rgb */ color: rgb(220, 125, 222);
/* oklch */ color: oklch(72.7% 0.169 326.4);
Tailwind
colors: {
  custom: {
    50: '#e9a5e8',
    500: '#dc7dde',
    950: '#000000',
  },
}
SCSS
$custom: #dc7dde;
$custom-light: #e9a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7dde",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 298.763,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72658,
    "c": 0.16856,
    "h": 326.4
  },
  "luminance": 0.35157
}

Semantic roles & 50–950 ramp

primary
#DC7DDE
secondary
#CDEACD
accent
#C71E22
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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