#DC7CFE#DC7CFE

#DC7CFE is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.1% C 0.202 H 316.6°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#DC7CFE
RGBrgb(220, 124, 254)
HSLhsl(284, 98%, 74%)
HSVhsv(284, 51%, 100%)
CMYKcmyk(13.4%, 51.2%, 0%, 0.4%)
CIE-LABlab(67.12, 57.40, -49.78)
CIE-LCHlch(67.12, 75.98, 319.07°)
OKLaboklab(74.05% 0.1464 -0.1385)
OKLCHoklch(74.05% 0.202 316.6)
XYZxyz(54.6096, 36.7885, 97.9709)
Luminance0.3679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CFE #9EFE7C
analogous
#9B7CFE #DC7CFE #FE7CDF
triadic
#DC7CFE #FEDC7C #7CFEDC
tetradic
#DC7CFE #FE9B7C #9EFE7C #7CDFFE
square
#DC7CFE #FE9B7C #9EFE7C #7CDFFE
split-complementary
#DC7CFE #DFFE7C #7CFE9B
monochromatic
#BC03FD #CC3FFE #DC7CFE #ECB9FE #F7E1FF

Accessibility & contrast

On white

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

On black

8.36
#DC7CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CFE
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CFE#FFFFFF#000000##000000
##DC7CFE1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#7EA6FB
Tritanopia (blue-blind)
#DB90B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7cfe;
/* rgb */ color: rgb(220, 124, 254);
/* oklch */ color: oklch(74.1% 0.202 316.6);
Tailwind
colors: {
  custom: {
    50: '#e9a5ff',
    500: '#dc7cfe',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cfe;
$custom-light: #e9a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cfe",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 284.308,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74052,
    "c": 0.2015,
    "h": 316.6
  },
  "luminance": 0.36787
}

Semantic roles & 50–950 ramp

primary
#DC7CFE
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DC7CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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