#CB48C5#CB48C5

#CB48C5 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.6% C 0.217 H 329.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CB48C5
RGBrgb(203, 72, 197)
HSLhsl(303, 56%, 54%)
HSVhsv(303, 65%, 80%)
CMYKcmyk(0%, 64.5%, 3%, 20.4%)
CIE-LABlab(53.35, 66.25, -39.70)
CIE-LCHlch(53.35, 77.24, 329.07°)
OKLaboklab(62.6% 0.1871 -0.1094)
OKLCHoklch(62.6% 0.217 329.7)
XYZxyz(37.0237, 21.3651, 54.9863)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48C5 #48CB4E
analogous
#9048CB #CB48C5 #CB4884
triadic
#CB48C5 #C5CB48 #48C5CB
tetradic
#CB48C5 #CB9048 #48CB4E #4884CB
square
#CB48C5 #CB9048 #48CB4E #4884CB
split-complementary
#CB48C5 #84CB48 #48CB90
monochromatic
#772273 #A62FA1 #CB48C5 #D978D4 #E6A7E3

Accessibility & contrast

On white

3.98
#CB48C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CB48C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48C5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48C5#FFFFFF#000000##000000
##CB48C51.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C74C9
Deuteranopia (green-blind)
#6B86C2
Tritanopia (blue-blind)
#D25780
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb48c5;
/* rgb */ color: rgb(203, 72, 197);
/* oklch */ color: oklch(62.6% 0.217 329.7);
Tailwind
colors: {
  custom: {
    50: '#de84d7',
    500: '#cb48c5',
    950: '#000000',
  },
}
SCSS
$custom: #cb48c5;
$custom-light: #de84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48c5",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 197
  },
  "hsl": {
    "h": 302.748,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62601,
    "c": 0.21667,
    "h": 329.7
  },
  "luminance": 0.21362
}

Semantic roles & 50–950 ramp

primary
#CB48C5
secondary
#9BD39E
accent
#DF5049
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CB48C5

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

Preview Lab → · Contrast checker → · Palette generator →

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