#9B2BCA#9B2BCA

#9B2BCA is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.233 H 313.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9B2BCA
RGBrgb(155, 43, 202)
HSLhsl(282, 65%, 48%)
HSVhsv(282, 79%, 79%)
CMYKcmyk(23.3%, 78.7%, 0%, 20.8%)
CIE-LABlab(42.70, 67.49, -60.02)
CIE-LCHlch(42.70, 90.32, 318.35°)
OKLaboklab(53.65% 0.1593 -0.1698)
OKLCHoklch(53.65% 0.233 313.2)
XYZxyz(25.0402, 12.9614, 57.0484)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BCA #5ACA2B
analogous
#4B2BCA #9B2BCA #CA2BA9
triadic
#9B2BCA #CA9B2B #2BCA9B
tetradic
#9B2BCA #CA4B2B #5ACA2B #2BA9CA
square
#9B2BCA #CA4B2B #5ACA2B #2BA9CA
split-complementary
#9B2BCA #A9CA2B #2BCA4B
monochromatic
#4E1665 #742098 #9B2BCA #B457DB #CB89E6

Accessibility & contrast

On white

5.85
#9B2BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9B2BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BCA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BCA#FFFFFF#000000##FFFFFF
##9B2BCA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#1367C7
Tritanopia (blue-blind)
#96527B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b2bca;
/* rgb */ color: rgb(155, 43, 202);
/* oklch */ color: oklch(53.7% 0.233 313.2);
Tailwind
colors: {
  custom: {
    50: '#bd72db',
    500: '#9b2bca',
    950: '#000000',
  },
}
SCSS
$custom: #9b2bca;
$custom-light: #bd72db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2bca",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 282.264,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53651,
    "c": 0.23285,
    "h": 313.2
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#9B2BCA
secondary
#98D081
accent
#E84072
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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