#DC7FE8#DC7FE8

#DC7FE8 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.4% C 0.175 H 322.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#DC7FE8
RGBrgb(220, 127, 232)
HSLhsl(293, 70%, 70%)
HSVhsv(293, 45%, 91%)
CMYKcmyk(5.2%, 45.3%, 0%, 9%)
CIE-LABlab(66.69, 51.65, -38.35)
CIE-LCHlch(66.69, 64.33, 323.40°)
OKLaboklab(73.41% 0.1394 -0.1055)
OKLCHoklch(73.41% 0.175 322.9)
XYZxyz(51.6685, 36.2228, 80.5983)
Luminance0.3622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FE8 #8BE87F
analogous
#A77FE8 #DC7FE8 #E87FBF
triadic
#DC7FE8 #E8DC7F #7FE8DC
tetradic
#DC7FE8 #E8A77F #8BE87F #7FBFE8
square
#DC7FE8 #E8A77F #8BE87F #7FBFE8
split-complementary
#DC7FE8 #BFE87F #7FE8A7
monochromatic
#B624C9 #CE4BDF #DC7FE8 #EAB3F1 #F8E5FA

Accessibility & contrast

On white

2.55
#DC7FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#DC7FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FE8
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FE8#FFFFFF#000000##000000
##DC7FE81.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEC
Deuteranopia (green-blind)
#8CA6E5
Tritanopia (blue-blind)
#DF8CA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7fe8;
/* rgb */ color: rgb(220, 127, 232);
/* oklch */ color: oklch(73.4% 0.175 322.9);
Tailwind
colors: {
  custom: {
    50: '#e9a7ef',
    500: '#dc7fe8',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fe8;
$custom-light: #e9a7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fe8",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 293.143,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73406,
    "c": 0.17481,
    "h": 322.9
  },
  "luminance": 0.36221
}

Semantic roles & 50–950 ramp

primary
#DC7FE8
secondary
#D6F0D3
accent
#D2142A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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