#DC7DF7#DC7DF7

#DC7DF7 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.8% C 0.193 H 318.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#DC7DF7
RGBrgb(220, 125, 247)
HSLhsl(287, 88%, 73%)
HSVhsv(287, 49%, 97%)
CMYKcmyk(10.9%, 49.4%, 0%, 3.1%)
CIE-LABlab(66.98, 55.53, -46.16)
CIE-LCHlch(66.98, 72.21, 320.26°)
OKLaboklab(73.84% 0.1443 -0.128)
OKLCHoklch(73.84% 0.193 318.4)
XYZxyz(53.6350, 36.6002, 92.2169)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DF7 #98F77D
analogous
#9F7DF7 #DC7DF7 #F77DD5
triadic
#DC7DF7 #F7DC7D #7DF7DC
tetradic
#DC7DF7 #F79F7D #98F77D #7DD5F7
square
#DC7DF7 #F79F7D #98F77D #7DD5F7
split-complementary
#DC7DF7 #D5F77D #7DF79F
monochromatic
#BA0EEB #CC43F3 #DC7DF7 #ECB7FB #F7E2FD

Accessibility & contrast

On white

2.52
#DC7DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#DC7DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DF7
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DF7#FFFFFF#000000##000000
##DC7DF71.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#83A6F4
Tritanopia (blue-blind)
#DC8EAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7df7;
/* rgb */ color: rgb(220, 125, 247);
/* oklch */ color: oklch(73.8% 0.193 318.4);
Tailwind
colors: {
  custom: {
    50: '#e9a6fa',
    500: '#dc7df7',
    950: '#000000',
  },
}
SCSS
$custom: #dc7df7;
$custom-light: #e9a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7df7",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 286.721,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73838,
    "c": 0.19289,
    "h": 318.4
  },
  "luminance": 0.36598
}

Semantic roles & 50–950 ramp

primary
#DC7DF7
secondary
#DDF5D6
accent
#E50033
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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