#DC7DDC#DC7DDC

#DC7DDC is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.6% C 0.167 H 327.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#DC7DDC
RGBrgb(220, 125, 220)
HSLhsl(300, 58%, 68%)
HSVhsv(300, 43%, 86%)
CMYKcmyk(0%, 43.2%, 0%, 13.7%)
CIE-LABlab(65.79, 50.46, -33.10)
CIE-LCHlch(65.79, 60.34, 326.74°)
OKLaboklab(72.57% 0.14 -0.0905)
OKLCHoklch(72.57% 0.167 327.1)
XYZxyz(49.7662, 35.0526, 71.8407)
Luminance0.3505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DDC #7DDC7D
analogous
#AC7DDC #DC7DDC #DC7DAC
triadic
#DC7DDC #DCDC7D #7DDCDC
tetradic
#DC7DDC #DCAC7D #7DDC7D #7DACDC
square
#DC7DDC #DCAC7D #7DDC7D #7DACDC
split-complementary
#DC7DDC #ACDC7D #7DDCAC
monochromatic
#AF2FAF #CF4DCF #DC7DDC #E9ADE9 #F6DDF6

Accessibility & contrast

On white

2.62
#DC7DDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#DC7DDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DDC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DDC#FFFFFF#000000##000000
##DC7DDC1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#E187A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7ddc;
/* rgb */ color: rgb(220, 125, 220);
/* oklch */ color: oklch(72.6% 0.167 327.1);
Tailwind
colors: {
  custom: {
    50: '#e9a5e7',
    500: '#dc7ddc',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ddc;
$custom-light: #e9a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ddc",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 220
  },
  "hsl": {
    "h": 300,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72569,
    "c": 0.1667,
    "h": 327.1
  },
  "luminance": 0.3505
}

Semantic roles & 50–950 ramp

primary
#DC7DDC
secondary
#CCE9CC
accent
#C52020
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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