#DC7FDF#DC7FDF

#DC7FDF is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.0% C 0.166 H 326.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#DC7FDF
RGBrgb(220, 127, 223)
HSLhsl(298, 60%, 69%)
HSVhsv(298, 43%, 87%)
CMYKcmyk(1.3%, 43%, 0%, 12.5%)
CIE-LABlab(66.31, 49.98, -33.96)
CIE-LCHlch(66.31, 60.43, 325.81°)
OKLaboklab(73% 0.1377 -0.093)
OKLCHoklch(73% 0.166 326)
XYZxyz(50.4228, 35.7245, 74.0373)
Luminance0.3572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FDF #82DF7F
analogous
#AC7FDF #DC7FDF #DF7FB2
triadic
#DC7FDF #DFDC7F #7FDFDC
tetradic
#DC7FDF #DFAC7F #82DF7F #7FB2DF
square
#DC7FDF #DFAC7F #82DF7F #7FB2DF
split-complementary
#DC7FDF #B2DF7F #7FDFAC
monochromatic
#B22EB6 #CF4ED3 #DC7FDF #E9B0EB #F7E1F7

Accessibility & contrast

On white

2.58
#DC7FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#DC7FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FDF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FDF#FFFFFF#000000##000000
##DC7FDF1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#769AE2
Deuteranopia (green-blind)
#90A5DC
Tritanopia (blue-blind)
#E189A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7fdf;
/* rgb */ color: rgb(220, 127, 223);
/* oklch */ color: oklch(73.0% 0.166 326.0);
Tailwind
colors: {
  custom: {
    50: '#e9a6e9',
    500: '#dc7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fdf;
$custom-light: #e9a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fdf",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 298.125,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72997,
    "c": 0.16617,
    "h": 326
  },
  "luminance": 0.35722
}

Semantic roles & 50–950 ramp

primary
#DC7FDF
secondary
#CFEBCF
accent
#C81E23
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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