#DC7CF0#DC7CF0

#DC7CF0 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.4% C 0.188 H 320.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#DC7CF0
RGBrgb(220, 124, 240)
HSLhsl(290, 79%, 71%)
HSVhsv(290, 48%, 94%)
CMYKcmyk(8.3%, 48.3%, 0%, 5.9%)
CIE-LABlab(66.46, 54.67, -43.12)
CIE-LCHlch(66.46, 69.63, 321.74°)
OKLaboklab(73.35% 0.1447 -0.1192)
OKLCHoklch(73.35% 0.188 320.5)
XYZxyz(52.4491, 35.9243, 86.5925)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CF0 #90F07C
analogous
#A27CF0 #DC7CF0 #F07CCA
triadic
#DC7CF0 #F0DC7C #7CF0DC
tetradic
#DC7CF0 #F0A27C #90F07C #7CCAF0
square
#DC7CF0 #F0A27C #90F07C #7CCAF0
split-complementary
#DC7CF0 #CAF07C #7CF0A2
monochromatic
#B819D9 #CD45EA #DC7CF0 #EBB3F6 #F8E4FC

Accessibility & contrast

On white

2.57
#DC7CF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#DC7CF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CF0
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CF0#FFFFFF#000000##000000
##DC7CF01.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF4
Deuteranopia (green-blind)
#86A5ED
Tritanopia (blue-blind)
#DE8BAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7cf0;
/* rgb */ color: rgb(220, 124, 240);
/* oklch */ color: oklch(73.4% 0.188 320.5);
Tailwind
colors: {
  custom: {
    50: '#e9a5f5',
    500: '#dc7cf0',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cf0;
$custom-light: #e9a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cf0",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 240
  },
  "hsl": {
    "h": 289.655,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73352,
    "c": 0.1875,
    "h": 320.5
  },
  "luminance": 0.35922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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