#CB48C2#CB48C2

#CB48C2 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.4% C 0.214 H 330.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CB48C2
RGBrgb(203, 72, 194)
HSLhsl(304, 56%, 54%)
HSVhsv(304, 65%, 80%)
CMYKcmyk(0%, 64.5%, 4.4%, 20.4%)
CIE-LABlab(53.20, 65.77, -38.21)
CIE-LCHlch(53.20, 76.06, 329.84°)
OKLaboklab(62.45% 0.1868 -0.105)
OKLCHoklch(62.45% 0.214 330.7)
XYZxyz(36.6834, 21.2290, 53.1940)
Luminance0.2123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48C2 #48CB51
analogous
#9348CB #CB48C2 #CB4881
triadic
#CB48C2 #C2CB48 #48C2CB
tetradic
#CB48C2 #CB9348 #48CB51 #4881CB
square
#CB48C2 #CB9348 #48CB51 #4881CB
split-complementary
#CB48C2 #81CB48 #48CB93
monochromatic
#772271 #A62F9E #CB48C2 #D978D2 #E6A7E2

Accessibility & contrast

On white

4.00
#CB48C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CB48C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48C2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48C2#FFFFFF#000000##000000
##CB48C21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C6
Deuteranopia (green-blind)
#6D85BF
Tritanopia (blue-blind)
#D3567F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb48c2;
/* rgb */ color: rgb(203, 72, 194);
/* oklch */ color: oklch(62.4% 0.214 330.7);
Tailwind
colors: {
  custom: {
    50: '#de84d5',
    500: '#cb48c2',
    950: '#000000',
  },
}
SCSS
$custom: #cb48c2;
$custom-light: #de84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48c2",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 304.122,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62446,
    "c": 0.21433,
    "h": 330.7
  },
  "luminance": 0.21226
}

Semantic roles & 50–950 ramp

primary
#CB48C2
secondary
#9BD39F
accent
#DF5349
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CB48C2

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

Preview Lab → · Contrast checker → · Palette generator →

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