#DC7EF5#DC7EF5

#DC7EF5 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.9% C 0.189 H 318.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#DC7EF5
RGBrgb(220, 126, 245)
HSLhsl(287, 86%, 73%)
HSVhsv(287, 49%, 96%)
CMYKcmyk(10.2%, 48.6%, 0%, 3.9%)
CIE-LABlab(67.08, 54.63, -44.91)
CIE-LCHlch(67.08, 70.72, 320.58°)
OKLaboklab(73.88% 0.1427 -0.1244)
OKLCHoklch(73.88% 0.189 318.9)
XYZxyz(53.4553, 36.7319, 90.6426)
Luminance0.3673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EF5 #97F57E
analogous
#A07EF5 #DC7EF5 #F57ED2
triadic
#DC7EF5 #F5DC7E #7EF5DC
tetradic
#DC7EF5 #F5A07E #97F57E #7ED2F5
square
#DC7EF5 #F5A07E #97F57E #7ED2F5
split-complementary
#DC7EF5 #D2F57E #7EF5A0
monochromatic
#BA12E7 #CD45F1 #DC7EF5 #EBB7F9 #F7E3FD

Accessibility & contrast

On white

2.52
#DC7EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#DC7EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EF5
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EF5#FFFFFF#000000##000000
##DC7EF51.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF9
Deuteranopia (green-blind)
#85A7F2
Tritanopia (blue-blind)
#DC8FAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7ef5;
/* rgb */ color: rgb(220, 126, 245);
/* oklch */ color: oklch(73.9% 0.189 318.9);
Tailwind
colors: {
  custom: {
    50: '#e9a6f9',
    500: '#dc7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ef5;
$custom-light: #e9a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ef5",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 287.395,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73882,
    "c": 0.18929,
    "h": 318.9
  },
  "luminance": 0.3673
}

Semantic roles & 50–950 ramp

primary
#DC7EF5
secondary
#DDF5D6
accent
#E20332
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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