#DC7DFE#DC7DFE

#DC7DFE is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.2% C 0.200 H 316.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#DC7DFE
RGBrgb(220, 125, 254)
HSLhsl(284, 98%, 74%)
HSVhsv(284, 51%, 100%)
CMYKcmyk(13.4%, 50.8%, 0%, 0.4%)
CIE-LABlab(67.31, 56.90, -49.48)
CIE-LCHlch(67.31, 75.41, 318.99°)
OKLaboklab(74.19% 0.1451 -0.1376)
OKLCHoklch(74.19% 0.2 316.5)
XYZxyz(54.7356, 37.0404, 98.0129)
Luminance0.3704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DFE #9FFE7D
analogous
#9C7DFE #DC7DFE #FE7DE0
triadic
#DC7DFE #FEDC7D #7DFEDC
tetradic
#DC7DFE #FE9C7D #9FFE7D #7DE0FE
square
#DC7DFE #FE9C7D #9FFE7D #7DE0FE
split-complementary
#DC7DFE #E0FE7D #7DFE9C
monochromatic
#BB04FD #CC40FE #DC7DFE #ECBAFE #F7E1FF

Accessibility & contrast

On white

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

On black

8.41
#DC7DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DFE
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DFE#FFFFFF#000000##000000
##DC7DFE1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#DB91B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc7dfe;
/* rgb */ color: rgb(220, 125, 254);
/* oklch */ color: oklch(74.2% 0.200 316.5);
Tailwind
colors: {
  custom: {
    50: '#e9a6ff',
    500: '#dc7dfe',
    950: '#000000',
  },
}
SCSS
$custom: #dc7dfe;
$custom-light: #e9a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7dfe",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 284.186,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74191,
    "c": 0.19995,
    "h": 316.5
  },
  "luminance": 0.37039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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