#DC7CF2#DC7CF2

#DC7CF2 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.5% C 0.189 H 319.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#DC7CF2
RGBrgb(220, 124, 242)
HSLhsl(289, 82%, 72%)
HSVhsv(289, 49%, 95%)
CMYKcmyk(9.1%, 48.8%, 0%, 5.1%)
CIE-LABlab(66.55, 55.06, -44.08)
CIE-LCHlch(66.55, 70.53, 321.32°)
OKLaboklab(73.45% 0.145 -0.122)
OKLCHoklch(73.45% 0.189 319.9)
XYZxyz(52.7479, 36.0438, 88.1658)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CF2 #92F27C
analogous
#A17CF2 #DC7CF2 #F27CCD
triadic
#DC7CF2 #F2DC7C #7CF2DC
tetradic
#DC7CF2 #F2A17C #92F27C #7CCDF2
square
#DC7CF2 #F2A17C #92F27C #7CCDF2
split-complementary
#DC7CF2 #CDF27C #7CF2A1
monochromatic
#B816DE #CD44EC #DC7CF2 #EBB4F8 #F8E3FC

Accessibility & contrast

On white

2.56
#DC7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#DC7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CF2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CF2#FFFFFF#000000##000000
##DC7CF21.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#85A5EF
Tritanopia (blue-blind)
#DD8CAC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7cf2;
/* rgb */ color: rgb(220, 124, 242);
/* oklch */ color: oklch(73.5% 0.189 319.9);
Tailwind
colors: {
  custom: {
    50: '#e9a5f7',
    500: '#dc7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cf2;
$custom-light: #e9a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cf2",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 288.814,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7345,
    "c": 0.18948,
    "h": 319.9
  },
  "luminance": 0.36042
}

Semantic roles & 50–950 ramp

primary
#DC7CF2
secondary
#DCF4D6
accent
#DE072F
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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