#DC7EF4#DC7EF4

#DC7EF4 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.8% C 0.188 H 319.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#DC7EF4
RGBrgb(220, 126, 244)
HSLhsl(288, 84%, 73%)
HSVhsv(288, 48%, 96%)
CMYKcmyk(9.8%, 48.4%, 0%, 4.3%)
CIE-LABlab(67.03, 54.44, -44.43)
CIE-LCHlch(67.03, 70.27, 320.78°)
OKLaboklab(73.83% 0.1425 -0.123)
OKLCHoklch(73.83% 0.188 319.2)
XYZxyz(53.3031, 36.6710, 89.8408)
Luminance0.3667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EF4 #96F47E
analogous
#A17EF4 #DC7EF4 #F47ED1
triadic
#DC7EF4 #F4DC7E #7EF4DC
tetradic
#DC7EF4 #F4A17E #96F47E #7ED1F4
square
#DC7EF4 #F4A17E #96F47E #7ED1F4
split-complementary
#DC7EF4 #D1F47E #7EF4A1
monochromatic
#BA13E4 #CD46EF #DC7EF4 #EBB6F9 #F7E3FD

Accessibility & contrast

On white

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

On black

8.33
#DC7EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EF4
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EF4#FFFFFF#000000##000000
##DC7EF41.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF8
Deuteranopia (green-blind)
#85A6F1
Tritanopia (blue-blind)
#DD8EAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7ef4;
/* rgb */ color: rgb(220, 126, 244);
/* oklch */ color: oklch(73.8% 0.188 319.2);
Tailwind
colors: {
  custom: {
    50: '#e9a6f8',
    500: '#dc7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ef4;
$custom-light: #e9a6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ef4",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 287.797,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73833,
    "c": 0.18829,
    "h": 319.2
  },
  "luminance": 0.36669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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