#DC7EF7#DC7EF7

#DC7EF7 is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.0% C 0.191 H 318.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#DC7EF7
RGBrgb(220, 126, 247)
HSLhsl(287, 88%, 73%)
HSVhsv(287, 49%, 97%)
CMYKcmyk(10.9%, 49%, 0%, 3.1%)
CIE-LABlab(67.17, 55.03, -45.86)
CIE-LCHlch(67.17, 71.63, 320.19°)
OKLaboklab(73.98% 0.1429 -0.1272)
OKLCHoklch(73.98% 0.191 318.3)
XYZxyz(53.7623, 36.8546, 92.2593)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EF7 #99F77E
analogous
#A07EF7 #DC7EF7 #F77ED5
triadic
#DC7EF7 #F7DC7E #7EF7DC
tetradic
#DC7EF7 #F7A07E #99F77E #7ED5F7
square
#DC7EF7 #F7A07E #99F77E #7ED5F7
split-complementary
#DC7EF7 #D5F77E #7EF7A0
monochromatic
#BB0FEC #CC44F3 #DC7EF7 #ECB8FB #F7E2FD

Accessibility & contrast

On white

2.51
#DC7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#DC7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EF7
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EF7#FFFFFF#000000##000000
##DC7EF71.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#DC8FAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7ef7;
/* rgb */ color: rgb(220, 126, 247);
/* oklch */ color: oklch(74.0% 0.191 318.3);
Tailwind
colors: {
  custom: {
    50: '#e9a6fa',
    500: '#dc7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ef7;
$custom-light: #e9a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ef7",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 286.612,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7398,
    "c": 0.19131,
    "h": 318.3
  },
  "luminance": 0.36853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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