#9B2CA1#9B2CA1

#9B2CA1 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 51.0% C 0.197 H 325.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9B2CA1
RGBrgb(155, 44, 161)
HSLhsl(297, 57%, 40%)
HSVhsv(297, 73%, 63%)
CMYKcmyk(3.7%, 72.7%, 0%, 36.9%)
CIE-LABlab(40.15, 59.51, -39.93)
CIE-LCHlch(40.15, 71.66, 326.14°)
OKLaboklab(51% 0.1631 -0.111)
OKLCHoklch(51% 0.197 325.8)
XYZxyz(20.8508, 11.3445, 34.8028)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CA1 #32A12C
analogous
#602CA1 #9B2CA1 #A12C6C
triadic
#9B2CA1 #A19B2C #2CA19B
tetradic
#9B2CA1 #A1602C #32A12C #2C6CA1
square
#9B2CA1 #A1602C #32A12C #2C6CA1
split-complementary
#9B2CA1 #6CA12C #2CA160
monochromatic
#3E1241 #6D1F71 #9B2CA1 #C440CB #D270D8

Accessibility & contrast

On white

6.42
#9B2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9B2CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CA1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CA1#FFFFFF#000000##FFFFFF
##9B2CA11.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A4
Deuteranopia (green-blind)
#46639E
Tritanopia (blue-blind)
#9F3F64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ca1;
/* rgb */ color: rgb(155, 44, 161);
/* oklch */ color: oklch(51.0% 0.197 325.8);
Tailwind
colors: {
  custom: {
    50: '#bc70bd',
    500: '#9b2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ca1;
$custom-light: #bc70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ca1",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 296.923,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50996,
    "c": 0.19726,
    "h": 325.8
  },
  "luminance": 0.11343
}

Semantic roles & 50–950 ramp

primary
#9B2CA1
secondary
#6EBF6A
accent
#E0474F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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