#DC7CFA#DC7CFA

#DC7CFA is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.8% C 0.197 H 317.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#DC7CFA
RGBrgb(220, 124, 250)
HSLhsl(286, 93%, 73%)
HSVhsv(286, 50%, 98%)
CMYKcmyk(12%, 50.4%, 0%, 2%)
CIE-LABlab(66.93, 56.61, -47.89)
CIE-LCHlch(66.93, 74.15, 319.77°)
OKLaboklab(73.85% 0.1459 -0.133)
OKLCHoklch(73.85% 0.197 317.7)
XYZxyz(53.9758, 36.5349, 94.6326)
Luminance0.3653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CFA #9AFA7C
analogous
#9D7CFA #DC7CFA #FA7CD9
triadic
#DC7CFA #FADC7C #7CFADC
tetradic
#DC7CFA #FA9D7C #9AFA7C #7CD9FA
square
#DC7CFA #FA9D7C #9AFA7C #7CD9FA
split-complementary
#DC7CFA #D9FA7C #7CFA9D
monochromatic
#BB09F2 #CC41F8 #DC7CFA #ECB7FC #F7E2FE

Accessibility & contrast

On white

2.53
#DC7CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#DC7CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CFA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CFA#FFFFFF#000000##000000
##DC7CFA1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFE
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#DC8FB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7cfa;
/* rgb */ color: rgb(220, 124, 250);
/* oklch */ color: oklch(73.8% 0.197 317.7);
Tailwind
colors: {
  custom: {
    50: '#e9a5fc',
    500: '#dc7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cfa;
$custom-light: #e9a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cfa",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 285.714,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73848,
    "c": 0.19746,
    "h": 317.7
  },
  "luminance": 0.36533
}

Semantic roles & 50–950 ramp

primary
#DC7CFA
secondary
#DDF6D5
accent
#E60037
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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