#DC48E7#DC48E7

#DC48E7 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.8% C 0.252 H 325.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#DC48E7
RGBrgb(220, 72, 231)
HSLhsl(296, 77%, 59%)
HSVhsv(296, 69%, 91%)
CMYKcmyk(4.8%, 68.8%, 0%, 9.4%)
CIE-LABlab(57.68, 75.71, -52.00)
CIE-LCHlch(57.68, 91.85, 325.52°)
OKLaboklab(66.8% 0.2062 -0.1446)
OKLCHoklch(66.8% 0.252 325)
XYZxyz(46.2553, 25.6228, 78.0952)
Luminance0.2562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC48E7 #53E748
analogous
#8D48E7 #DC48E7 #E748A3
triadic
#DC48E7 #E7DC48 #48E7DC
tetradic
#DC48E7 #E78D48 #53E748 #48A3E7
square
#DC48E7 #E78D48 #53E748 #48A3E7
split-complementary
#DC48E7 #A3E748 #48E78D
monochromatic
#9615A0 #C91CD6 #DC48E7 #E67EEE #F1B4F5

Accessibility & contrast

On white

3.43
#DC48E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#DC48E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC48E7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC48E7#FFFFFF#000000##000000
##DC48E71.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7FEB
Deuteranopia (green-blind)
#6791E3
Tritanopia (blue-blind)
#E16293
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dc48e7;
/* rgb */ color: rgb(220, 72, 231);
/* oklch */ color: oklch(66.8% 0.252 325.0);
Tailwind
colors: {
  custom: {
    50: '#eb87ef',
    500: '#dc48e7',
    950: '#000000',
  },
}
SCSS
$custom: #dc48e7;
$custom-light: #eb87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc48e7",
  "rgb": {
    "r": 220,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 295.849,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66798,
    "c": 0.25182,
    "h": 325
  },
  "luminance": 0.2562
}

Semantic roles & 50–950 ramp

primary
#DC48E7
secondary
#ABE4A6
accent
#F33442
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DC48E7

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

Preview Lab → · Contrast checker → · Palette generator →

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