#CD48CB#CD48CB

#CD48CB is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.2% C 0.222 H 328.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CD48CB
RGBrgb(205, 72, 203)
HSLhsl(301, 57%, 54%)
HSVhsv(301, 65%, 80%)
CMYKcmyk(0%, 64.9%, 1%, 19.6%)
CIE-LABlab(53.95, 67.71, -42.18)
CIE-LCHlch(53.95, 79.77, 328.08°)
OKLaboklab(63.2% 0.1895 -0.1165)
OKLCHoklch(63.2% 0.222 328.4)
XYZxyz(38.2733, 21.9283, 58.7051)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48CB #48CD4A
analogous
#8D48CD #CD48CB #CD4889
triadic
#CD48CB #CBCD48 #48CBCD
tetradic
#CD48CB #CD8D48 #48CD4A #4889CD
square
#CD48CB #CD8D48 #48CD4A #4889CD
split-complementary
#CD48CB #89CD48 #48CD8D
monochromatic
#792178 #A92EA8 #CD48CB #DA78D9 #E7A8E6

Accessibility & contrast

On white

3.90
#CD48CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CD48CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48CB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48CB#FFFFFF#000000##000000
##CD48CB1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776CF
Deuteranopia (green-blind)
#6A87C7
Tritanopia (blue-blind)
#D35984
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd48cb;
/* rgb */ color: rgb(205, 72, 203);
/* oklch */ color: oklch(63.2% 0.222 328.4);
Tailwind
colors: {
  custom: {
    50: '#e085db',
    500: '#cd48cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd48cb;
$custom-light: #e085db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48cb",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 300.902,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63195,
    "c": 0.22246,
    "h": 328.4
  },
  "luminance": 0.21926
}

Semantic roles & 50–950 ramp

primary
#CD48CB
secondary
#9CD59D
accent
#E04A47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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