#CB47B6#CB47B6

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

Color values

HEX#CB47B6
RGBrgb(203, 71, 182)
HSLhsl(310, 56%, 54%)
HSVhsv(310, 65%, 80%)
CMYKcmyk(0%, 65%, 10.3%, 20.4%)
CIE-LABlab(52.49, 64.27, -32.37)
CIE-LCHlch(52.49, 71.97, 333.27°)
OKLaboklab(61.75% 0.1868 -0.0883)
OKLCHoklch(61.75% 0.207 334.7)
XYZxyz(35.3256, 20.5833, 46.3593)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47B6 #47CB5C
analogous
#9E47CB #CB47B6 #CB4774
triadic
#CB47B6 #B6CB47 #47B6CB
tetradic
#CB47B6 #CB9E47 #47CB5C #4774CB
square
#CB47B6 #CB9E47 #47CB5C #4774CB
split-complementary
#CB47B6 #74CB47 #47CB9E
monochromatic
#762169 #A62F93 #CB47B6 #D877C9 #E6A6DC

Accessibility & contrast

On white

4.10
#CB47B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CB47B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47B6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47B6#FFFFFF#000000##000000
##CB47B61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671B9
Deuteranopia (green-blind)
#7284B3
Tritanopia (blue-blind)
#D45078
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb47b6;
/* rgb */ color: rgb(203, 71, 182);
/* oklch */ color: oklch(61.7% 0.207 334.7);
Tailwind
colors: {
  custom: {
    50: '#de84cc',
    500: '#cb47b6',
    950: '#000000',
  },
}
SCSS
$custom: #cb47b6;
$custom-light: #de84cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47b6",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 182
  },
  "hsl": {
    "h": 309.545,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61746,
    "c": 0.20657,
    "h": 334.7
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#CB47B6
secondary
#9BD3A4
accent
#DF6149
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB47B6

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

Preview Lab → · Contrast checker → · Palette generator →

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