#DC7FE7#DC7FE7

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

Color values

HEX#DC7FE7
RGBrgb(220, 127, 231)
HSLhsl(294, 68%, 70%)
HSVhsv(294, 45%, 91%)
CMYKcmyk(4.8%, 45%, 0%, 9.4%)
CIE-LABlab(66.65, 51.46, -37.87)
CIE-LCHlch(66.65, 63.89, 323.65°)
OKLaboklab(73.36% 0.1392 -0.1041)
OKLCHoklch(73.36% 0.174 323.2)
XYZxyz(51.5269, 36.1661, 79.8524)
Luminance0.3616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FE7 #8AE77F
analogous
#A87FE7 #DC7FE7 #E77FBE
triadic
#DC7FE7 #E7DC7F #7FE7DC
tetradic
#DC7FE7 #E7A87F #8AE77F #7FBEE7
square
#DC7FE7 #E7A87F #8AE77F #7FBEE7
split-complementary
#DC7FE7 #BEE77F #7FE7A8
monochromatic
#B525C6 #CE4BDD #DC7FE7 #EAB3F1 #F8E5FA

Accessibility & contrast

On white

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

On black

8.23
#DC7FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FE7
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FE7#FFFFFF#000000##000000
##DC7FE71.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEB
Deuteranopia (green-blind)
#8CA6E4
Tritanopia (blue-blind)
#DF8BA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7fe7;
/* rgb */ color: rgb(220, 127, 231);
/* oklch */ color: oklch(73.4% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#e9a7ef',
    500: '#dc7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fe7;
$custom-light: #e9a7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fe7",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 293.654,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73359,
    "c": 0.17384,
    "h": 323.2
  },
  "luminance": 0.36164
}

Semantic roles & 50–950 ramp

primary
#DC7FE7
secondary
#D6EFD2
accent
#D01529
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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