#DC7CF7#DC7CF7

#DC7CF7 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.7% C 0.194 H 318.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#DC7CF7
RGBrgb(220, 124, 247)
HSLhsl(287, 88%, 73%)
HSVhsv(287, 50%, 97%)
CMYKcmyk(10.9%, 49.8%, 0%, 3.1%)
CIE-LABlab(66.79, 56.02, -46.46)
CIE-LCHlch(66.79, 72.78, 320.33°)
OKLaboklab(73.7% 0.1456 -0.1289)
OKLCHoklch(73.7% 0.194 318.5)
XYZxyz(53.5091, 36.3483, 92.1749)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CF7 #97F77C
analogous
#9E7CF7 #DC7CF7 #F77CD5
triadic
#DC7CF7 #F7DC7C #7CF7DC
tetradic
#DC7CF7 #F79E7C #97F77C #7CD5F7
square
#DC7CF7 #F79E7C #97F77C #7CD5F7
split-complementary
#DC7CF7 #D5F77C #7CF79E
monochromatic
#BA0EEA #CD42F3 #DC7CF7 #EBB6FB #F7E2FD

Accessibility & contrast

On white

2.54
#DC7CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#DC7CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CF7
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CF7#FFFFFF#000000##000000
##DC7CF71.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#82A6F4
Tritanopia (blue-blind)
#DC8EAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7cf7;
/* rgb */ color: rgb(220, 124, 247);
/* oklch */ color: oklch(73.7% 0.194 318.5);
Tailwind
colors: {
  custom: {
    50: '#e9a5fa',
    500: '#dc7cf7',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cf7;
$custom-light: #e9a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cf7",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 286.829,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73697,
    "c": 0.19445,
    "h": 318.5
  },
  "luminance": 0.36346
}

Semantic roles & 50–950 ramp

primary
#DC7CF7
secondary
#DDF5D6
accent
#E50033
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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