#DC7FEE#DC7FEE

#DC7FEE is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.7% C 0.181 H 320.9°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#DC7FEE
RGBrgb(220, 127, 238)
HSLhsl(290, 77%, 72%)
HSVhsv(290, 47%, 93%)
CMYKcmyk(7.6%, 46.6%, 0%, 6.7%)
CIE-LABlab(66.95, 52.78, -41.25)
CIE-LCHlch(66.95, 66.99, 321.99°)
OKLaboklab(73.69% 0.1403 -0.1139)
OKLCHoklch(73.69% 0.181 320.9)
XYZxyz(52.5354, 36.5695, 85.1636)
Luminance0.3657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FEE #91EE7F
analogous
#A57FEE #DC7FEE #EE7FC9
triadic
#DC7FEE #EEDC7F #7FEEDC
tetradic
#DC7FEE #EEA57F #91EE7F #7FC9EE
square
#DC7FEE #EEA57F #91EE7F #7FC9EE
split-complementary
#DC7FEE #C9EE7F #7FEEA5
monochromatic
#B81CD6 #CD49E7 #DC7FEE #EBB5F5 #F8E4FB

Accessibility & contrast

On white

2.53
#DC7FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#DC7FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FEE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FEE#FFFFFF#000000##000000
##DC7FEE1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF2
Deuteranopia (green-blind)
#89A6EB
Tritanopia (blue-blind)
#DE8DAC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7fee;
/* rgb */ color: rgb(220, 127, 238);
/* oklch */ color: oklch(73.7% 0.181 320.9);
Tailwind
colors: {
  custom: {
    50: '#e9a7f4',
    500: '#dc7fee',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fee;
$custom-light: #e9a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fee",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 290.27,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73687,
    "c": 0.1807,
    "h": 320.9
  },
  "luminance": 0.36567
}

Semantic roles & 50–950 ramp

primary
#DC7FEE
secondary
#DBF3D6
accent
#D90D2E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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