#9B2CBF#9B2CBF

#9B2CBF is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.222 H 316.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9B2CBF
RGBrgb(155, 44, 191)
HSLhsl(285, 63%, 46%)
HSVhsv(285, 77%, 75%)
CMYKcmyk(18.8%, 77%, 0%, 25.1%)
CIE-LABlab(42.05, 65.02, -54.67)
CIE-LCHlch(42.05, 84.95, 319.94°)
OKLaboklab(52.95% 0.1604 -0.1541)
OKLCHoklch(52.95% 0.222 316.1)
XYZxyz(23.8208, 12.5325, 50.4444)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CBF #50BF2C
analogous
#512CBF #9B2CBF #BF2C99
triadic
#9B2CBF #BF9B2C #2CBF9B
tetradic
#9B2CBF #BF512C #50BF2C #2C99BF
square
#9B2CBF #BF512C #50BF2C #2C99BF
split-complementary
#9B2CBF #99BF2C #2CBF51
monochromatic
#4A155C #73218D #9B2CBF #B651D7 #CB83E2

Accessibility & contrast

On white

5.99
#9B2CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9B2CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CBF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CBF#FFFFFF#000000##FFFFFF
##9B2CBF1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#2A66BC
Tritanopia (blue-blind)
#994D75
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2cbf;
/* rgb */ color: rgb(155, 44, 191);
/* oklch */ color: oklch(52.9% 0.222 316.1);
Tailwind
colors: {
  custom: {
    50: '#bd72d3',
    500: '#9b2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cbf;
$custom-light: #bd72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cbf",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 285.306,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.22246,
    "h": 316.1
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#9B2CBF
secondary
#8FCC7B
accent
#E6426A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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