#9B2CAB#9B2CAB

#9B2CAB is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.206 H 322.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9B2CAB
RGBrgb(155, 44, 171)
HSLhsl(292, 59%, 42%)
HSVhsv(292, 74%, 67%)
CMYKcmyk(9.4%, 74.3%, 0%, 32.9%)
CIE-LABlab(40.75, 61.28, -44.95)
CIE-LCHlch(40.75, 76.00, 323.74°)
OKLaboklab(51.62% 0.1626 -0.1256)
OKLCHoklch(51.62% 0.206 322.3)
XYZxyz(21.7682, 11.7115, 39.6341)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CAB #3CAB2C
analogous
#5C2CAB #9B2CAB #AB2C7C
triadic
#9B2CAB #AB9B2C #2CAB9B
tetradic
#9B2CAB #AB5C2C #3CAB2C #2C7CAB
square
#9B2CAB #AB5C2C #3CAB2C #2C7CAB
split-complementary
#9B2CAB #7CAB2C #2CAB5C
monochromatic
#43134A #6F1F7A #9B2CAB #BE45CF #CF76DC

Accessibility & contrast

On white

6.28
#9B2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9B2CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CAB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CAB#FFFFFF#000000##FFFFFF
##9B2CAB1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3F64A8
Tritanopia (blue-blind)
#9D446A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2cab;
/* rgb */ color: rgb(155, 44, 171);
/* oklch */ color: oklch(51.6% 0.206 322.3);
Tailwind
colors: {
  custom: {
    50: '#bc71c5',
    500: '#9b2cab',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cab;
$custom-light: #bc71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cab",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 292.441,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.20551,
    "h": 322.3
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#9B2CAB
secondary
#7AC36F
accent
#E24659
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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