#DC7FEA#DC7FEA

#DC7FEA is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.5% C 0.177 H 322.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#DC7FEA
RGBrgb(220, 127, 234)
HSLhsl(292, 72%, 71%)
HSVhsv(292, 46%, 92%)
CMYKcmyk(6%, 45.7%, 0%, 8.2%)
CIE-LABlab(66.78, 52.02, -39.32)
CIE-LCHlch(66.78, 65.21, 322.92°)
OKLaboklab(73.5% 0.1397 -0.1083)
OKLCHoklch(73.5% 0.177 322.2)
XYZxyz(51.9542, 36.3370, 82.1030)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FEA #8DEA7F
analogous
#A67FEA #DC7FEA #EA7FC2
triadic
#DC7FEA #EADC7F #7FEADC
tetradic
#DC7FEA #EAA67F #8DEA7F #7FC2EA
square
#DC7FEA #EAA67F #8DEA7F #7FC2EA
split-complementary
#DC7FEA #C2EA7F #7FEAA6
monochromatic
#B722CD #CE4AE1 #DC7FEA #EAB4F3 #F8E5FB

Accessibility & contrast

On white

2.54
#DC7FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#DC7FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FEA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FEA#FFFFFF#000000##000000
##DC7FEA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#8BA6E7
Tritanopia (blue-blind)
#DF8CAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7fea;
/* rgb */ color: rgb(220, 127, 234);
/* oklch */ color: oklch(73.5% 0.177 322.2);
Tailwind
colors: {
  custom: {
    50: '#e9a7f1',
    500: '#dc7fea',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fea;
$custom-light: #e9a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fea",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 292.15,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73499,
    "c": 0.17676,
    "h": 322.2
  },
  "luminance": 0.36335
}

Semantic roles & 50–950 ramp

primary
#DC7FEA
secondary
#D8F1D4
accent
#D4122B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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