#CB48BD#CB48BD

#CB48BD is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.2% C 0.210 H 332.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CB48BD
RGBrgb(203, 72, 189)
HSLhsl(306, 56%, 54%)
HSVhsv(306, 65%, 80%)
CMYKcmyk(0%, 64.5%, 6.9%, 20.4%)
CIE-LABlab(52.96, 64.97, -35.70)
CIE-LCHlch(52.96, 74.13, 331.21°)
OKLaboklab(62.19% 0.1864 -0.0978)
OKLCHoklch(62.19% 0.21 332.3)
XYZxyz(36.1313, 21.0081, 50.2862)
Luminance0.2100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48BD #48CB56
analogous
#9848CB #CB48BD #CB487C
triadic
#CB48BD #BDCB48 #48BDCB
tetradic
#CB48BD #CB9848 #48CB56 #487CCB
square
#CB48BD #CB9848 #48CB56 #487CCB
split-complementary
#CB48BD #7CCB48 #48CB98
monochromatic
#77226E #A62F9A #CB48BD #D978CE #E6A7DF

Accessibility & contrast

On white

4.04
#CB48BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CB48BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48BD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48BD#FFFFFF#000000##000000
##CB48BD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272C0
Deuteranopia (green-blind)
#6F85BA
Tritanopia (blue-blind)
#D3547C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb48bd;
/* rgb */ color: rgb(203, 72, 189);
/* oklch */ color: oklch(62.2% 0.210 332.3);
Tailwind
colors: {
  custom: {
    50: '#de84d1',
    500: '#cb48bd',
    950: '#000000',
  },
}
SCSS
$custom: #cb48bd;
$custom-light: #de84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48bd",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 306.412,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62193,
    "c": 0.21049,
    "h": 332.3
  },
  "luminance": 0.21005
}

Semantic roles & 50–950 ramp

primary
#CB48BD
secondary
#9BD3A1
accent
#DF5949
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CB48BD

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

Preview Lab → · Contrast checker → · Palette generator →

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