#DC7DF0#DC7DF0

#DC7DF0 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.5% C 0.186 H 320.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#DC7DF0
RGBrgb(220, 125, 240)
HSLhsl(290, 79%, 72%)
HSVhsv(290, 48%, 94%)
CMYKcmyk(8.3%, 47.9%, 0%, 5.9%)
CIE-LABlab(66.65, 54.17, -42.82)
CIE-LCHlch(66.65, 69.05, 321.68°)
OKLaboklab(73.5% 0.1434 -0.1184)
OKLCHoklch(73.5% 0.186 320.5)
XYZxyz(52.5751, 36.1762, 86.6345)
Luminance0.3617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DF0 #91F07D
analogous
#A37DF0 #DC7DF0 #F07DCB
triadic
#DC7DF0 #F0DC7D #7DF0DC
tetradic
#DC7DF0 #F0A37D #91F07D #7DCBF0
square
#DC7DF0 #F0A37D #91F07D #7DCBF0
split-complementary
#DC7DF0 #CBF07D #7DF0A3
monochromatic
#B819DA #CD46EA #DC7DF0 #EBB4F6 #F8E4FC

Accessibility & contrast

On white

2.55
#DC7DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#DC7DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DF0
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DF0#FFFFFF#000000##000000
##DC7DF01.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF4
Deuteranopia (green-blind)
#87A6ED
Tritanopia (blue-blind)
#DE8CAC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7df0;
/* rgb */ color: rgb(220, 125, 240);
/* oklch */ color: oklch(73.5% 0.186 320.5);
Tailwind
colors: {
  custom: {
    50: '#e9a5f5',
    500: '#dc7df0',
    950: '#000000',
  },
}
SCSS
$custom: #dc7df0;
$custom-light: #e9a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7df0",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 289.565,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73495,
    "c": 0.18591,
    "h": 320.5
  },
  "luminance": 0.36174
}

Semantic roles & 50–950 ramp

primary
#DC7DF0
secondary
#DBF3D6
accent
#DC0A2E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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