#DC7DFA#DC7DFA

#DC7DFA is a light, vivid purple. Relative luminance 0.368; OKLCH L 74.0% C 0.196 H 317.6°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#DC7DFA
RGBrgb(220, 125, 250)
HSLhsl(286, 93%, 74%)
HSVhsv(286, 50%, 98%)
CMYKcmyk(12%, 50%, 0%, 2%)
CIE-LABlab(67.12, 56.11, -47.59)
CIE-LCHlch(67.12, 73.58, 319.70°)
OKLaboklab(73.99% 0.1446 -0.1321)
OKLCHoklch(73.99% 0.196 317.6)
XYZxyz(54.1017, 36.7868, 94.6746)
Luminance0.3679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DFA #9BFA7D
analogous
#9D7DFA #DC7DFA #FA7DD9
triadic
#DC7DFA #FADC7D #7DFADC
tetradic
#DC7DFA #FA9D7D #9BFA7D #7DD9FA
square
#DC7DFA #FA9D7D #9BFA7D #7DD9FA
split-complementary
#DC7DFA #D9FA7D #7DFA9D
monochromatic
#BB09F3 #CC42F8 #DC7DFA #ECB8FC #F7E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC7DFA#FFFFFF#000000##000000
##DC7DFA1.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)
#659DFE
Deuteranopia (green-blind)
#82A6F7
Tritanopia (blue-blind)
#DB8FB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7dfa;
/* rgb */ color: rgb(220, 125, 250);
/* oklch */ color: oklch(74.0% 0.196 317.6);
Tailwind
colors: {
  custom: {
    50: '#e9a6fc',
    500: '#dc7dfa',
    950: '#000000',
  },
}
SCSS
$custom: #dc7dfa;
$custom-light: #e9a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7dfa",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 285.6,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73988,
    "c": 0.1959,
    "h": 317.6
  },
  "luminance": 0.36785
}

Semantic roles & 50–950 ramp

primary
#DC7DFA
secondary
#DDF6D5
accent
#E60037
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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