#DC7EF8#DC7EF8

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

Color values

HEX#DC7EF8
RGBrgb(220, 126, 248)
HSLhsl(286, 90%, 73%)
HSVhsv(286, 49%, 97%)
CMYKcmyk(11.3%, 49.2%, 0%, 2.7%)
CIE-LABlab(67.21, 55.22, -46.34)
CIE-LCHlch(67.21, 72.09, 320.00°)
OKLaboklab(74.03% 0.1431 -0.1285)
OKLCHoklch(74.03% 0.192 318.1)
XYZxyz(53.9170, 36.9165, 93.0742)
Luminance0.3691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EF8 #9AF87E
analogous
#9F7EF8 #DC7EF8 #F87ED7
triadic
#DC7EF8 #F8DC7E #7EF8DC
tetradic
#DC7EF8 #F89F7E #9AF87E #7ED7F8
square
#DC7EF8 #F89F7E #9AF87E #7ED7F8
split-complementary
#DC7EF8 #D7F87E #7EF89F
monochromatic
#BB0DEF #CC44F5 #DC7EF8 #ECB8FB #F7E2FD

Accessibility & contrast

On white

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

On black

8.38
#DC7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EF8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EF8#FFFFFF#000000##000000
##DC7EF81.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#83A7F5
Tritanopia (blue-blind)
#DC8FB0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7ef8;
/* rgb */ color: rgb(220, 126, 248);
/* oklch */ color: oklch(74.0% 0.192 318.1);
Tailwind
colors: {
  custom: {
    50: '#e9a6fb',
    500: '#dc7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ef8;
$custom-light: #e9a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ef8",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 286.23,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7403,
    "c": 0.19232,
    "h": 318.1
  },
  "luminance": 0.36915
}

Semantic roles & 50–950 ramp

primary
#DC7EF8
secondary
#DDF6D5
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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