#DC7CDF#DC7CDF

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

Color values

HEX#DC7CDF
RGBrgb(220, 124, 223)
HSLhsl(298, 61%, 68%)
HSVhsv(298, 44%, 87%)
CMYKcmyk(1.3%, 44.4%, 0%, 12.5%)
CIE-LABlab(65.72, 51.50, -34.88)
CIE-LCHlch(65.72, 62.20, 325.90°)
OKLaboklab(72.56% 0.142 -0.0956)
OKLCHoklch(72.56% 0.171 326.1)
XYZxyz(50.0411, 34.9611, 73.9100)
Luminance0.3496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CDF #7FDF7C
analogous
#AA7CDF #DC7CDF #DF7CB0
triadic
#DC7CDF #DFDC7C #7CDFDC
tetradic
#DC7CDF #DFAA7C #7FDF7C #7CB0DF
square
#DC7CDF #DFAA7C #7FDF7C #7CB0DF
split-complementary
#DC7CDF #B0DF7C #7CDFAA
monochromatic
#B02CB5 #CF4BD3 #DC7CDF #E9ADEB #F6DEF7

Accessibility & contrast

On white

2.63
#DC7CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#DC7CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CDF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CDF#FFFFFF#000000##000000
##DC7CDF1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#8DA4DC
Tritanopia (blue-blind)
#E187A3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7cdf;
/* rgb */ color: rgb(220, 124, 223);
/* oklch */ color: oklch(72.6% 0.171 326.1);
Tailwind
colors: {
  custom: {
    50: '#e9a5e9',
    500: '#dc7cdf',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cdf;
$custom-light: #e9a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cdf",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 298.182,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72556,
    "c": 0.17114,
    "h": 326.1
  },
  "luminance": 0.34959
}

Semantic roles & 50–950 ramp

primary
#DC7CDF
secondary
#CDEBCC
accent
#C81D22
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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