#DC7EF9#DC7EF9

#DC7EF9 is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.1% C 0.193 H 317.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#DC7EF9
RGBrgb(220, 126, 249)
HSLhsl(286, 91%, 74%)
HSVhsv(286, 49%, 98%)
CMYKcmyk(11.6%, 49.4%, 0%, 2.4%)
CIE-LABlab(67.26, 55.42, -46.81)
CIE-LCHlch(67.26, 72.54, 319.81°)
OKLaboklab(74.08% 0.1432 -0.1299)
OKLCHoklch(74.08% 0.193 317.8)
XYZxyz(54.0726, 36.9788, 93.8934)
Luminance0.3698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EF9 #9BF97E
analogous
#9E7EF9 #DC7EF9 #F97ED8
triadic
#DC7EF9 #F9DC7E #7EF9DC
tetradic
#DC7EF9 #F99E7E #9BF97E #7ED8F9
square
#DC7EF9 #F99E7E #9BF97E #7ED8F9
split-complementary
#DC7EF9 #D8F97E #7EF99E
monochromatic
#BB0BF1 #CC44F6 #DC7EF9 #ECB8FC #F7E2FE

Accessibility & contrast

On white

2.50
#DC7EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#DC7EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EF9
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EF9#FFFFFF#000000##000000
##DC7EF91.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#83A7F6
Tritanopia (blue-blind)
#DC90B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7ef9;
/* rgb */ color: rgb(220, 126, 249);
/* oklch */ color: oklch(74.1% 0.193 317.8);
Tailwind
colors: {
  custom: {
    50: '#e9a6fc',
    500: '#dc7ef9',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ef9;
$custom-light: #e9a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ef9",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 285.854,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7408,
    "c": 0.19332,
    "h": 317.8
  },
  "luminance": 0.36977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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