#9B2CBB#9B2CBB

#9B2CBB is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.219 H 317.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9B2CBB
RGBrgb(155, 44, 187)
HSLhsl(287, 62%, 45%)
HSVhsv(287, 76%, 73%)
CMYKcmyk(17.1%, 76.5%, 0%, 26.7%)
CIE-LABlab(41.78, 64.26, -52.76)
CIE-LCHlch(41.78, 83.14, 320.61°)
OKLaboklab(52.67% 0.161 -0.1485)
OKLCHoklch(52.67% 0.219 317.3)
XYZxyz(23.3866, 12.3588, 48.1577)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CBB #4CBB2C
analogous
#532CBB #9B2CBB #BB2C94
triadic
#9B2CBB #BB9B2C #2CBB9B
tetradic
#9B2CBB #BB532C #4CBB2C #2C94BB
square
#9B2CBB #BB532C #4CBB2C #2C94BB
split-complementary
#9B2CBB #94BB2C #2CBB53
monochromatic
#491558 #722089 #9B2CBB #B74FD6 #CB80E1

Accessibility & contrast

On white

6.05
#9B2CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9B2CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CBB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CBB#FFFFFF#000000##FFFFFF
##9B2CBB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#2F66B8
Tritanopia (blue-blind)
#994B73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2cbb;
/* rgb */ color: rgb(155, 44, 187);
/* oklch */ color: oklch(52.7% 0.219 317.3);
Tailwind
colors: {
  custom: {
    50: '#bd72d0',
    500: '#9b2cbb',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cbb;
$custom-light: #bd72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cbb",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 286.573,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.21903,
    "h": 317.3
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#9B2CBB
secondary
#8BCA79
accent
#E54367
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9B2CBB

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

Preview Lab → · Contrast checker → · Palette generator →

#9B2CBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva