#CB47B7#CB47B7

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

Color values

HEX#CB47B7
RGBrgb(203, 71, 183)
HSLhsl(309, 56%, 54%)
HSVhsv(309, 65%, 80%)
CMYKcmyk(0%, 65%, 9.9%, 20.4%)
CIE-LABlab(52.54, 64.43, -32.88)
CIE-LCHlch(52.54, 72.33, 332.96°)
OKLaboklab(61.8% 0.1869 -0.0897)
OKLCHoklch(61.8% 0.207 334.3)
XYZxyz(35.4293, 20.6248, 46.9055)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47B7 #47CB5B
analogous
#9D47CB #CB47B7 #CB4775
triadic
#CB47B7 #B7CB47 #47B7CB
tetradic
#CB47B7 #CB9D47 #47CB5B #4775CB
square
#CB47B7 #CB9D47 #47CB5B #4775CB
split-complementary
#CB47B7 #75CB47 #47CB9D
monochromatic
#762169 #A62F94 #CB47B7 #D877CA #E6A6DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB47B7#FFFFFF#000000##000000
##CB47B71.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)
#4571BA
Deuteranopia (green-blind)
#7184B4
Tritanopia (blue-blind)
#D45179
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb47b7;
/* rgb */ color: rgb(203, 71, 183);
/* oklch */ color: oklch(61.8% 0.207 334.3);
Tailwind
colors: {
  custom: {
    50: '#de84cd',
    500: '#cb47b7',
    950: '#000000',
  },
}
SCSS
$custom: #cb47b7;
$custom-light: #de84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47b7",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 309.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61795,
    "c": 0.2073,
    "h": 334.3
  },
  "luminance": 0.20622
}

Semantic roles & 50–950 ramp

primary
#CB47B7
secondary
#9BD3A3
accent
#DF5F49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB47B7

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

Preview Lab → · Contrast checker → · Palette generator →

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