#DC7BDA#DC7BDA

#DC7BDA is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.2% C 0.168 H 327.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#DC7BDA
RGBrgb(220, 123, 218)
HSLhsl(301, 58%, 67%)
HSVhsv(301, 44%, 86%)
CMYKcmyk(0%, 44.1%, 0.9%, 13.7%)
CIE-LABlab(65.31, 51.11, -32.72)
CIE-LCHlch(65.31, 60.69, 327.37°)
OKLaboklab(72.19% 0.1425 -0.0894)
OKLCHoklch(72.19% 0.168 327.9)
XYZxyz(49.2522, 34.4460, 70.3705)
Luminance0.3444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BDA #7BDC7D
analogous
#AE7BDC #DC7BDA #DC7BAA
triadic
#DC7BDA #DADC7B #7BDADC
tetradic
#DC7BDA #DCAE7B #7BDC7D #7BAADC
square
#DC7BDA #DCAE7B #7BDC7D #7BAADC
split-complementary
#DC7BDA #AADC7B #7BDCAE
monochromatic
#AE2EAC #CF4BCC #DC7BDA #E9ABE8 #F6DCF5

Accessibility & contrast

On white

2.66
#DC7BDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#DC7BDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BDA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BDA#FFFFFF#000000##000000
##DC7BDA1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DD
Deuteranopia (green-blind)
#8FA3D7
Tritanopia (blue-blind)
#E284A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7bda;
/* rgb */ color: rgb(220, 123, 218);
/* oklch */ color: oklch(72.2% 0.168 327.9);
Tailwind
colors: {
  custom: {
    50: '#e9a4e5',
    500: '#dc7bda',
    950: '#000000',
  },
}
SCSS
$custom: #dc7bda;
$custom-light: #e9a4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7bda",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 301.237,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72188,
    "c": 0.16818,
    "h": 327.9
  },
  "luminance": 0.34444
}

Semantic roles & 50–950 ramp

primary
#DC7BDA
secondary
#CAE9CB
accent
#C62320
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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