#DC7FDA#DC7FDA

#DC7FDA is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.8% C 0.162 H 327.8°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#DC7FDA
RGBrgb(220, 127, 218)
HSLhsl(301, 57%, 68%)
HSVhsv(301, 42%, 86%)
CMYKcmyk(0%, 42.3%, 0.9%, 13.7%)
CIE-LABlab(66.10, 49.08, -31.50)
CIE-LCHlch(66.10, 58.32, 327.31°)
OKLaboklab(72.78% 0.1367 -0.0859)
OKLCHoklch(72.78% 0.162 327.8)
XYZxyz(49.7586, 35.4588, 70.5393)
Luminance0.3546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FDA #7FDC81
analogous
#AF7FDC #DC7FDA #DC7FAB
triadic
#DC7FDA #DADC7F #7FDADC
tetradic
#DC7FDA #DCAF7F #7FDC81 #7FABDC
square
#DC7FDA #DCAF7F #7FDC81 #7FABDC
split-complementary
#DC7FDA #ABDC7F #7FDCAF
monochromatic
#B030AE #CF4FCC #DC7FDA #E9AFE8 #F6DFF6

Accessibility & contrast

On white

2.60
#DC7FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#DC7FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FDA
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FDA#FFFFFF#000000##000000
##DC7FDA1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DD
Deuteranopia (green-blind)
#92A5D7
Tritanopia (blue-blind)
#E288A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7fda;
/* rgb */ color: rgb(220, 127, 218);
/* oklch */ color: oklch(72.8% 0.162 327.8);
Tailwind
colors: {
  custom: {
    50: '#e8a6e5',
    500: '#dc7fda',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fda;
$custom-light: #e8a6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fda",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 301.29,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72777,
    "c": 0.16151,
    "h": 327.8
  },
  "luminance": 0.35456
}

Semantic roles & 50–950 ramp

primary
#DC7FDA
secondary
#CDEACE
accent
#C52421
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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