#9B2BA2#9B2BA2

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

Color values

HEX#9B2BA2
RGBrgb(155, 43, 162)
HSLhsl(296, 58%, 40%)
HSVhsv(296, 73%, 64%)
CMYKcmyk(4.3%, 73.5%, 0%, 36.5%)
CIE-LABlab(40.09, 60.03, -40.63)
CIE-LCHlch(40.09, 72.49, 325.91°)
OKLaboklab(50.97% 0.164 -0.113)
OKLCHoklch(50.97% 0.199 325.4)
XYZxyz(20.9026, 11.3063, 35.2568)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BA2 #32A22B
analogous
#602BA2 #9B2BA2 #A22B6D
triadic
#9B2BA2 #A29B2B #2BA29B
tetradic
#9B2BA2 #A2602B #32A22B #2B6DA2
square
#9B2BA2 #A2602B #32A22B #2B6DA2
split-complementary
#9B2BA2 #6DA22B #2BA260
monochromatic
#3E1141 #6D1E72 #9B2BA2 #C43ECC #D26FD9

Accessibility & contrast

On white

6.44
#9B2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9B2BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BA2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BA2#FFFFFF#000000##FFFFFF
##9B2BA21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0456A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#9F3F64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2ba2;
/* rgb */ color: rgb(155, 43, 162);
/* oklch */ color: oklch(51.0% 0.199 325.4);
Tailwind
colors: {
  custom: {
    50: '#bc70be',
    500: '#9b2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ba2;
$custom-light: #bc70be;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ba2",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 296.471,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5097,
    "c": 0.19918,
    "h": 325.4
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#9B2BA2
secondary
#6EC069
accent
#E14750
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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