#CB47BB#CB47BB

#CB47BB is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 62.0% C 0.210 H 333.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CB47BB
RGBrgb(203, 71, 187)
HSLhsl(307, 56%, 54%)
HSVhsv(307, 65%, 80%)
CMYKcmyk(0%, 65%, 7.9%, 20.4%)
CIE-LABlab(52.72, 65.05, -34.91)
CIE-LCHlch(52.72, 73.82, 331.78°)
OKLaboklab(61.99% 0.1873 -0.0956)
OKLCHoklch(61.99% 0.21 333)
XYZxyz(35.8516, 20.7937, 49.1294)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47BB #47CB57
analogous
#9947CB #CB47BB #CB4779
triadic
#CB47BB #BBCB47 #47BBCB
tetradic
#CB47BB #CB9947 #47CB57 #4779CB
square
#CB47BB #CB9947 #47CB57 #4779CB
split-complementary
#CB47BB #79CB47 #47CB99
monochromatic
#76216C #A62F97 #CB47BB #D877CD #E6A6DE

Accessibility & contrast

On white

4.07
#CB47BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CB47BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47BB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47BB#FFFFFF#000000##000000
##CB47BB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#6F85B8
Tritanopia (blue-blind)
#D4527B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb47bb;
/* rgb */ color: rgb(203, 71, 187);
/* oklch */ color: oklch(62.0% 0.210 333.0);
Tailwind
colors: {
  custom: {
    50: '#de84d0',
    500: '#cb47bb',
    950: '#000000',
  },
}
SCSS
$custom: #cb47bb;
$custom-light: #de84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47bb",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 307.273,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61991,
    "c": 0.21028,
    "h": 333
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#CB47BB
secondary
#9BD3A2
accent
#DF5B49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CB47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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