#DC7EF3#DC7EF3

#DC7EF3 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.8% C 0.187 H 319.5°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#DC7EF3
RGBrgb(220, 126, 243)
HSLhsl(288, 83%, 72%)
HSVhsv(288, 48%, 95%)
CMYKcmyk(9.5%, 48.1%, 0%, 4.7%)
CIE-LABlab(66.98, 54.25, -43.95)
CIE-LCHlch(66.98, 69.82, 320.98°)
OKLaboklab(73.78% 0.1424 -0.1216)
OKLCHoklch(73.78% 0.187 319.5)
XYZxyz(53.1517, 36.6104, 89.0433)
Luminance0.3661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EF3 #95F37E
analogous
#A17EF3 #DC7EF3 #F37ED0
triadic
#DC7EF3 #F3DC7E #7EF3DC
tetradic
#DC7EF3 #F3A17E #95F37E #7ED0F3
square
#DC7EF3 #F3A17E #95F37E #7ED0F3
split-complementary
#DC7EF3 #D0F37E #7EF3A1
monochromatic
#B915E2 #CD46EE #DC7EF3 #EBB6F8 #F7E3FC

Accessibility & contrast

On white

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

On black

8.32
#DC7EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EF3
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EF3#FFFFFF#000000##000000
##DC7EF31.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF7
Deuteranopia (green-blind)
#86A6F0
Tritanopia (blue-blind)
#DD8EAD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7ef3;
/* rgb */ color: rgb(220, 126, 243);
/* oklch */ color: oklch(73.8% 0.187 319.5);
Tailwind
colors: {
  custom: {
    50: '#e9a6f7',
    500: '#dc7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ef3;
$custom-light: #e9a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ef3",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 288.205,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73784,
    "c": 0.18729,
    "h": 319.5
  },
  "luminance": 0.36608
}

Semantic roles & 50–950 ramp

primary
#DC7EF3
secondary
#DDF4D7
accent
#DF0631
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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