#9B2BA3#9B2BA3

#9B2BA3 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.200 H 325.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9B2BA3
RGBrgb(155, 43, 163)
HSLhsl(296, 58%, 40%)
HSVhsv(296, 74%, 64%)
CMYKcmyk(4.9%, 73.6%, 0%, 36.1%)
CIE-LABlab(40.15, 60.20, -41.13)
CIE-LCHlch(40.15, 72.91, 325.66°)
OKLaboklab(51.03% 0.164 -0.1145)
OKLCHoklch(51.03% 0.2 325.1)
XYZxyz(20.9918, 11.3420, 35.7268)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BA3 #33A32B
analogous
#5F2BA3 #9B2BA3 #A32B6F
triadic
#9B2BA3 #A39B2B #2BA39B
tetradic
#9B2BA3 #A35F2B #33A32B #2B6FA3
square
#9B2BA3 #A35F2B #33A32B #2B6FA3
split-complementary
#9B2BA3 #6FA32B #2BA35F
monochromatic
#3F1142 #6D1E73 #9B2BA3 #C33FCC #D26FD9

Accessibility & contrast

On white

6.43
#9B2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2BA3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BA3#FFFFFF#000000##FFFFFF
##9B2BA31.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0156A6
Deuteranopia (green-blind)
#4463A0
Tritanopia (blue-blind)
#9E4065
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ba3;
/* rgb */ color: rgb(155, 43, 163);
/* oklch */ color: oklch(51.0% 0.200 325.1);
Tailwind
colors: {
  custom: {
    50: '#bc70bf',
    500: '#9b2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ba3;
$custom-light: #bc70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ba3",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 296,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.2,
    "h": 325.1
  },
  "luminance": 0.11341
}

Semantic roles & 50–950 ramp

primary
#9B2BA3
secondary
#6FC06A
accent
#E14651
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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