#CB47C6#CB47C6

#CB47C6 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.6% C 0.219 H 329.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CB47C6
RGBrgb(203, 71, 198)
HSLhsl(302, 56%, 54%)
HSVhsv(302, 65%, 80%)
CMYKcmyk(0%, 65%, 2.5%, 20.4%)
CIE-LABlab(53.26, 66.80, -40.42)
CIE-LCHlch(53.26, 78.08, 328.82°)
OKLaboklab(62.55% 0.1882 -0.1114)
OKLCHoklch(62.55% 0.219 329.4)
XYZxyz(37.0746, 21.2828, 55.5704)
Luminance0.2128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47C6 #47CB4C
analogous
#8E47CB #CB47C6 #CB4784
triadic
#CB47C6 #C6CB47 #47C6CB
tetradic
#CB47C6 #CB8E47 #47CB4C #4784CB
square
#CB47C6 #CB8E47 #47CB4C #4784CB
split-complementary
#CB47C6 #84CB47 #47CB8E
monochromatic
#762173 #A62FA1 #CB47C6 #D877D5 #E6A6E4

Accessibility & contrast

On white

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

On black

5.26
#CB47C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47C6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47C6#FFFFFF#000000##000000
##CB47C61.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3974CA
Deuteranopia (green-blind)
#6A85C3
Tritanopia (blue-blind)
#D25781
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb47c6;
/* rgb */ color: rgb(203, 71, 198);
/* oklch */ color: oklch(62.6% 0.219 329.4);
Tailwind
colors: {
  custom: {
    50: '#de84d8',
    500: '#cb47c6',
    950: '#000000',
  },
}
SCSS
$custom: #cb47c6;
$custom-light: #de84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47c6",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 198
  },
  "hsl": {
    "h": 302.273,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62553,
    "c": 0.21873,
    "h": 329.4
  },
  "luminance": 0.2128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB47C6

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

Preview Lab → · Contrast checker → · Palette generator →

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