#CD48C1#CD48C1

#CD48C1 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.7% C 0.215 H 331.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CD48C1
RGBrgb(205, 72, 193)
HSLhsl(305, 57%, 54%)
HSVhsv(305, 65%, 80%)
CMYKcmyk(0%, 64.9%, 5.9%, 19.6%)
CIE-LABlab(53.46, 66.09, -37.21)
CIE-LCHlch(53.46, 75.85, 330.62°)
OKLaboklab(62.68% 0.1888 -0.1021)
OKLCHoklch(62.68% 0.215 331.6)
XYZxyz(37.1198, 21.4669, 52.6302)
Luminance0.2146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48C1 #48CD54
analogous
#9748CD #CD48C1 #CD487E
triadic
#CD48C1 #C1CD48 #48C1CD
tetradic
#CD48C1 #CD9748 #48CD54 #487ECD
square
#CD48C1 #CD9748 #48CD54 #487ECD
split-complementary
#CD48C1 #7ECD48 #48CD97
monochromatic
#792171 #A92E9E #CD48C1 #DA78D1 #E7A8E2

Accessibility & contrast

On white

3.97
#CD48C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CD48C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48C1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48C1#FFFFFF#000000##000000
##CD48C11.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4074C5
Deuteranopia (green-blind)
#6F86BE
Tritanopia (blue-blind)
#D5557E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd48c1;
/* rgb */ color: rgb(205, 72, 193);
/* oklch */ color: oklch(62.7% 0.215 331.6);
Tailwind
colors: {
  custom: {
    50: '#e085d4',
    500: '#cd48c1',
    950: '#000000',
  },
}
SCSS
$custom: #cd48c1;
$custom-light: #e085d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48c1",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 193
  },
  "hsl": {
    "h": 305.414,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62677,
    "c": 0.21468,
    "h": 331.6
  },
  "luminance": 0.21464
}

Semantic roles & 50–950 ramp

primary
#CD48C1
secondary
#9CD5A1
accent
#E05547
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD48C1

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

Preview Lab → · Contrast checker → · Palette generator →

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