#CD48D7#CD48D7

#CD48D7 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.8% C 0.232 H 324.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CD48D7
RGBrgb(205, 72, 215)
HSLhsl(296, 64%, 56%)
HSVhsv(296, 67%, 84%)
CMYKcmyk(4.7%, 66.5%, 0%, 15.7%)
CIE-LABlab(54.58, 69.73, -48.03)
CIE-LCHlch(54.58, 84.67, 325.44°)
OKLaboklab(63.85% 0.1899 -0.1334)
OKLCHoklch(63.85% 0.232 324.9)
XYZxyz(39.7590, 22.5226, 66.5299)
Luminance0.2252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48D7 #52D748
analogous
#8648D7 #CD48D7 #D7489A
triadic
#CD48D7 #D7CD48 #48D7CD
tetradic
#CD48D7 #D78648 #52D748 #489AD7
square
#CD48D7 #D78648 #52D748 #489AD7
split-complementary
#CD48D7 #9AD748 #48D786
monochromatic
#801E87 #AF29B9 #CD48D7 #DB7AE2 #E8ACED

Accessibility & contrast

On white

3.82
#CD48D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CD48D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48D7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48D7#FFFFFF#000000##000000
##CD48D71.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2978DB
Deuteranopia (green-blind)
#6388D3
Tritanopia (blue-blind)
#D15E8A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd48d7;
/* rgb */ color: rgb(205, 72, 215);
/* oklch */ color: oklch(63.8% 0.232 324.9);
Tailwind
colors: {
  custom: {
    50: '#e085e4',
    500: '#cd48d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd48d7;
$custom-light: #e085e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48d7",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 295.804,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6385,
    "c": 0.2321,
    "h": 324.9
  },
  "luminance": 0.2252
}

Semantic roles & 50–950 ramp

primary
#CD48D7
secondary
#A4DBA0
accent
#E7414C
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CD48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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