#DC7AF0#DC7AF0

#DC7AF0 is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.1% C 0.191 H 320.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#DC7AF0
RGBrgb(220, 122, 240)
HSLhsl(290, 80%, 71%)
HSVhsv(290, 49%, 94%)
CMYKcmyk(8.3%, 49.2%, 0%, 5.9%)
CIE-LABlab(66.08, 55.67, -43.72)
CIE-LCHlch(66.08, 70.79, 321.86°)
OKLaboklab(73.07% 0.1474 -0.1209)
OKLCHoklch(73.07% 0.191 320.6)
XYZxyz(52.2010, 35.4281, 86.5098)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7AF0 #8EF07A
analogous
#A17AF0 #DC7AF0 #F07AC9
triadic
#DC7AF0 #F0DC7A #7AF0DC
tetradic
#DC7AF0 #F0A17A #8EF07A #7AC9F0
square
#DC7AF0 #F0A17A #8EF07A #7AC9F0
split-complementary
#DC7AF0 #C9F07A #7AF0A1
monochromatic
#B718D7 #CE43EA #DC7AF0 #EAB1F6 #F8E4FC

Accessibility & contrast

On white

2.60
#DC7AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#DC7AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7AF0
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7AF0#FFFFFF#000000##000000
##DC7AF01.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF4
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#DE8AAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7af0;
/* rgb */ color: rgb(220, 122, 240);
/* oklch */ color: oklch(73.1% 0.191 320.6);
Tailwind
colors: {
  custom: {
    50: '#e9a4f5',
    500: '#dc7af0',
    950: '#000000',
  },
}
SCSS
$custom: #dc7af0;
$custom-light: #e9a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7af0",
  "rgb": {
    "r": 220,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 289.831,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7307,
    "c": 0.19068,
    "h": 320.6
  },
  "luminance": 0.35426
}

Semantic roles & 50–950 ramp

primary
#DC7AF0
secondary
#D9F3D3
accent
#DC092D
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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