#CB47B8#CB47B8

#CB47B8 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.8% C 0.208 H 334.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CB47B8
RGBrgb(203, 71, 184)
HSLhsl(309, 56%, 54%)
HSVhsv(309, 65%, 80%)
CMYKcmyk(0%, 65%, 9.4%, 20.4%)
CIE-LABlab(52.58, 64.58, -33.39)
CIE-LCHlch(52.58, 72.70, 332.66°)
OKLaboklab(61.84% 0.187 -0.0912)
OKLCHoklch(61.84% 0.208 334)
XYZxyz(35.5338, 20.6665, 47.4556)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47B8 #47CB5A
analogous
#9C47CB #CB47B8 #CB4776
triadic
#CB47B8 #B8CB47 #47B8CB
tetradic
#CB47B8 #CB9C47 #47CB5A #4776CB
square
#CB47B8 #CB9C47 #47CB5A #4776CB
split-complementary
#CB47B8 #76CB47 #47CB9C
monochromatic
#76216A #A62F95 #CB47B8 #D877CA #E6A6DD

Accessibility & contrast

On white

4.09
#CB47B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CB47B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47B8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47B8#FFFFFF#000000##000000
##CB47B81.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#7184B5
Tritanopia (blue-blind)
#D45179
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb47b8;
/* rgb */ color: rgb(203, 71, 184);
/* oklch */ color: oklch(61.8% 0.208 334.0);
Tailwind
colors: {
  custom: {
    50: '#de84cd',
    500: '#cb47b8',
    950: '#000000',
  },
}
SCSS
$custom: #cb47b8;
$custom-light: #de84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47b8",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 308.636,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61843,
    "c": 0.20804,
    "h": 334
  },
  "luminance": 0.20664
}

Semantic roles & 50–950 ramp

primary
#CB47B8
secondary
#9BD3A3
accent
#DF5E49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB47B8

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

Preview Lab → · Contrast checker → · Palette generator →

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