#9B2BA6#9B2BA6

#9B2BA6 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.202 H 324.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9B2BA6
RGBrgb(155, 43, 166)
HSLhsl(295, 59%, 41%)
HSVhsv(295, 74%, 65%)
CMYKcmyk(6.6%, 74.1%, 0%, 34.9%)
CIE-LABlab(40.33, 60.73, -42.65)
CIE-LCHlch(40.33, 74.21, 324.92°)
OKLaboklab(51.22% 0.1639 -0.1189)
OKLCHoklch(51.22% 0.202 324)
XYZxyz(21.2638, 11.4508, 37.1592)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BA6 #36A62B
analogous
#5D2BA6 #9B2BA6 #A62B73
triadic
#9B2BA6 #A69B2B #2BA69B
tetradic
#9B2BA6 #A65D2B #36A62B #2B73A6
square
#9B2BA6 #A65D2B #36A62B #2B73A6
split-complementary
#9B2BA6 #73A62B #2BA65D
monochromatic
#401245 #6E1E75 #9B2BA6 #C141CE #D171DA

Accessibility & contrast

On white

6.38
#9B2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9B2BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BA6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BA6#FFFFFF#000000##FFFFFF
##9B2BA61.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4264A3
Tritanopia (blue-blind)
#9E4166
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ba6;
/* rgb */ color: rgb(155, 43, 166);
/* oklch */ color: oklch(51.2% 0.202 324.0);
Tailwind
colors: {
  custom: {
    50: '#bc70c1',
    500: '#9b2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ba6;
$custom-light: #bc70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ba6",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 294.634,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51216,
    "c": 0.20245,
    "h": 324
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#9B2BA6
secondary
#73C16B
accent
#E24654
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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