#CB47C5#CB47C5

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

Color values

HEX#CB47C5
RGBrgb(203, 71, 197)
HSLhsl(303, 56%, 54%)
HSVhsv(303, 65%, 80%)
CMYKcmyk(0%, 65%, 3%, 20.4%)
CIE-LABlab(53.21, 66.64, -39.92)
CIE-LCHlch(53.21, 77.68, 329.07°)
OKLaboklab(62.5% 0.1882 -0.11)
OKLCHoklch(62.5% 0.218 329.7)
XYZxyz(36.9596, 21.2369, 54.9650)
Luminance0.2123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47C5 #47CB4D
analogous
#8F47CB #CB47C5 #CB4783
triadic
#CB47C5 #C5CB47 #47C5CB
tetradic
#CB47C5 #CB8F47 #47CB4D #4783CB
square
#CB47C5 #CB8F47 #47CB4D #4783CB
split-complementary
#CB47C5 #83CB47 #47CB8F
monochromatic
#762172 #A62FA1 #CB47C5 #D877D4 #E6A6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB47C5#FFFFFF#000000##000000
##CB47C51.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)
#3A74C9
Deuteranopia (green-blind)
#6B85C2
Tritanopia (blue-blind)
#D25780
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb47c5;
/* rgb */ color: rgb(203, 71, 197);
/* oklch */ color: oklch(62.5% 0.218 329.7);
Tailwind
colors: {
  custom: {
    50: '#de84d7',
    500: '#cb47c5',
    950: '#000000',
  },
}
SCSS
$custom: #cb47c5;
$custom-light: #de84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47c5",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 302.727,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.625,
    "c": 0.21795,
    "h": 329.7
  },
  "luminance": 0.21234
}

Semantic roles & 50–950 ramp

primary
#CB47C5
secondary
#9BD39D
accent
#DF4F49
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CB47C5

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

Preview Lab → · Contrast checker → · Palette generator →

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