#DC7FE6#DC7FE6

#DC7FE6 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.3% C 0.173 H 323.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#DC7FE6
RGBrgb(220, 127, 230)
HSLhsl(294, 67%, 70%)
HSVhsv(294, 45%, 90%)
CMYKcmyk(4.3%, 44.8%, 0%, 9.8%)
CIE-LABlab(66.60, 51.27, -37.38)
CIE-LCHlch(66.60, 63.45, 323.91°)
OKLaboklab(73.31% 0.139 -0.1027)
OKLCHoklch(73.31% 0.173 323.5)
XYZxyz(51.3861, 36.1098, 79.1107)
Luminance0.3611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FE6 #89E67F
analogous
#A97FE6 #DC7FE6 #E67FBC
triadic
#DC7FE6 #E6DC7F #7FE6DC
tetradic
#DC7FE6 #E6A97F #89E67F #7FBCE6
square
#DC7FE6 #E6A97F #89E67F #7FBCE6
split-complementary
#DC7FE6 #BCE67F #7FE6A9
monochromatic
#B526C4 #CE4CDC #DC7FE6 #EAB2F0 #F8E5FA

Accessibility & contrast

On white

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

On black

8.22
#DC7FE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FE6
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FE6#FFFFFF#000000##000000
##DC7FE61.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#739BEA
Deuteranopia (green-blind)
#8DA6E3
Tritanopia (blue-blind)
#DF8BA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7fe6;
/* rgb */ color: rgb(220, 127, 230);
/* oklch */ color: oklch(73.3% 0.173 323.5);
Tailwind
colors: {
  custom: {
    50: '#e9a7ee',
    500: '#dc7fe6',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fe6;
$custom-light: #e9a7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fe6",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 294.175,
    "s": 67.32,
    "l": 70
  },
  "oklch": {
    "l": 0.73313,
    "c": 0.17286,
    "h": 323.5
  },
  "luminance": 0.36108
}

Semantic roles & 50–950 ramp

primary
#DC7FE6
secondary
#D5EFD2
accent
#CF1628
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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