#CB47B9#CB47B9

#CB47B9 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.209 H 333.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CB47B9
RGBrgb(203, 71, 185)
HSLhsl(308, 56%, 54%)
HSVhsv(308, 65%, 80%)
CMYKcmyk(0%, 65%, 8.9%, 20.4%)
CIE-LABlab(52.63, 64.74, -33.90)
CIE-LCHlch(52.63, 73.07, 332.36°)
OKLaboklab(61.89% 0.1871 -0.0926)
OKLCHoklch(61.89% 0.209 333.7)
XYZxyz(35.6390, 20.7086, 48.0097)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47B9 #47CB59
analogous
#9B47CB #CB47B9 #CB4777
triadic
#CB47B9 #B9CB47 #47B9CB
tetradic
#CB47B9 #CB9B47 #47CB59 #4777CB
square
#CB47B9 #CB9B47 #47CB59 #4777CB
split-complementary
#CB47B9 #77CB47 #47CB9B
monochromatic
#76216B #A62F96 #CB47B9 #D877CB #E6A6DD

Accessibility & contrast

On white

4.08
#CB47B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CB47B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47B9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47B9#FFFFFF#000000##000000
##CB47B91.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4471BC
Deuteranopia (green-blind)
#7085B6
Tritanopia (blue-blind)
#D4527A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb47b9;
/* rgb */ color: rgb(203, 71, 185);
/* oklch */ color: oklch(61.9% 0.209 333.7);
Tailwind
colors: {
  custom: {
    50: '#de84ce',
    500: '#cb47b9',
    950: '#000000',
  },
}
SCSS
$custom: #cb47b9;
$custom-light: #de84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47b9",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 185
  },
  "hsl": {
    "h": 308.182,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61892,
    "c": 0.20878,
    "h": 333.7
  },
  "luminance": 0.20706
}

Semantic roles & 50–950 ramp

primary
#CB47B9
secondary
#9BD3A2
accent
#DF5D49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB47B9

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

Preview Lab → · Contrast checker → · Palette generator →

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