#CB48B7#CB48B7

#CB48B7 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.206 H 334.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CB48B7
RGBrgb(203, 72, 183)
HSLhsl(309, 56%, 54%)
HSVhsv(309, 65%, 80%)
CMYKcmyk(0%, 64.5%, 9.9%, 20.4%)
CIE-LABlab(52.68, 64.03, -32.66)
CIE-LCHlch(52.68, 71.88, 332.97°)
OKLaboklab(61.9% 0.1857 -0.0891)
OKLCHoklch(61.9% 0.206 334.4)
XYZxyz(35.4935, 20.7530, 46.9269)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48B7 #48CB5C
analogous
#9E48CB #CB48B7 #CB4876
triadic
#CB48B7 #B7CB48 #48B7CB
tetradic
#CB48B7 #CB9E48 #48CB5C #4876CB
square
#CB48B7 #CB9E48 #48CB5C #4876CB
split-complementary
#CB48B7 #76CB48 #48CB9E
monochromatic
#77226A #A62F94 #CB48B7 #D978CA #E6A7DD

Accessibility & contrast

On white

4.08
#CB48B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CB48B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48B7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48B7#FFFFFF#000000##000000
##CB48B71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4771BA
Deuteranopia (green-blind)
#7285B4
Tritanopia (blue-blind)
#D45279
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb48b7;
/* rgb */ color: rgb(203, 72, 183);
/* oklch */ color: oklch(61.9% 0.206 334.4);
Tailwind
colors: {
  custom: {
    50: '#de84cd',
    500: '#cb48b7',
    950: '#000000',
  },
}
SCSS
$custom: #cb48b7;
$custom-light: #de84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48b7",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 309.16,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.20599,
    "h": 334.4
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

primary
#CB48B7
secondary
#9BD3A4
accent
#DF6049
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB48B7

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

Preview Lab → · Contrast checker → · Palette generator →

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