#DC7EFD#DC7EFD

#DC7EFD is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.3% C 0.197 H 316.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#DC7EFD
RGBrgb(220, 126, 253)
HSLhsl(284, 97%, 74%)
HSVhsv(284, 50%, 99%)
CMYKcmyk(13%, 50.2%, 0%, 0.8%)
CIE-LABlab(67.45, 56.21, -48.70)
CIE-LCHlch(67.45, 74.37, 319.09°)
OKLaboklab(74.28% 0.1436 -0.1354)
OKLCHoklch(74.28% 0.197 316.7)
XYZxyz(54.7031, 37.2310, 97.2142)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EFD #9FFD7E
analogous
#9C7EFD #DC7EFD #FD7EDF
triadic
#DC7EFD #FDDC7E #7EFDDC
tetradic
#DC7EFD #FD9C7E #9FFD7E #7EDFFD
square
#DC7EFD #FD9C7E #9FFD7E #7EDFFD
split-complementary
#DC7EFD #DFFD7E #7EFD9C
monochromatic
#BB05FB #CC42FC #DC7EFD #ECBAFE #F7E1FF

Accessibility & contrast

On white

2.49
#DC7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#DC7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EFD
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EFD#FFFFFF#000000##000000
##DC7EFD1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#81A7FA
Tritanopia (blue-blind)
#DB91B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7efd;
/* rgb */ color: rgb(220, 126, 253);
/* oklch */ color: oklch(74.3% 0.197 316.7);
Tailwind
colors: {
  custom: {
    50: '#e9a6fe',
    500: '#dc7efd',
    950: '#000000',
  },
}
SCSS
$custom: #dc7efd;
$custom-light: #e9a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7efd",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 284.409,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74281,
    "c": 0.19738,
    "h": 316.7
  },
  "luminance": 0.37229
}

Semantic roles & 50–950 ramp

primary
#DC7EFD
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DC7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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