#DC7FEC#DC7FEC

#DC7FEC is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.6% C 0.179 H 321.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#DC7FEC
RGBrgb(220, 127, 236)
HSLhsl(291, 74%, 71%)
HSVhsv(291, 46%, 93%)
CMYKcmyk(6.8%, 46.2%, 0%, 7.5%)
CIE-LABlab(66.86, 52.40, -40.29)
CIE-LCHlch(66.86, 66.10, 322.45°)
OKLaboklab(73.59% 0.14 -0.1111)
OKLCHoklch(73.59% 0.179 321.6)
XYZxyz(52.2432, 36.4526, 83.6247)
Luminance0.3645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FEC #8FEC7F
analogous
#A57FEC #DC7FEC #EC7FC5
triadic
#DC7FEC #ECDC7F #7FECDC
tetradic
#DC7FEC #ECA57F #8FEC7F #7FC5EC
square
#DC7FEC #ECA57F #8FEC7F #7FC5EC
split-complementary
#DC7FEC #C5EC7F #7FECA5
monochromatic
#B71FD2 #CD4AE4 #DC7FEC #EBB4F4 #F8E4FB

Accessibility & contrast

On white

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

On black

8.29
#DC7FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FEC
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FEC#FFFFFF#000000##000000
##DC7FEC1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#DE8DAB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7fec;
/* rgb */ color: rgb(220, 127, 236);
/* oklch */ color: oklch(73.6% 0.179 321.6);
Tailwind
colors: {
  custom: {
    50: '#e9a7f2',
    500: '#dc7fec',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fec;
$custom-light: #e9a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fec",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 291.193,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73593,
    "c": 0.17873,
    "h": 321.6
  },
  "luminance": 0.36451
}

Semantic roles & 50–950 ramp

primary
#DC7FEC
secondary
#D9F2D5
accent
#D60F2C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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