#9B2BA9#9B2BA9

#9B2BA9 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.205 H 323.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9B2BA9
RGBrgb(155, 43, 169)
HSLhsl(293, 59%, 42%)
HSVhsv(293, 75%, 66%)
CMYKcmyk(8.3%, 74.6%, 0%, 33.7%)
CIE-LABlab(40.51, 61.27, -44.15)
CIE-LCHlch(40.51, 75.51, 324.22°)
OKLaboklab(51.41% 0.1637 -0.1233)
OKLCHoklch(51.41% 0.205 323)
XYZxyz(21.5422, 11.5622, 38.6255)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BA9 #39A92B
analogous
#5C2BA9 #9B2BA9 #A92B78
triadic
#9B2BA9 #A99B2B #2BA99B
tetradic
#9B2BA9 #A95C2B #39A92B #2B78A9
square
#9B2BA9 #A95C2B #39A92B #2B78A9
split-complementary
#9B2BA9 #78A92B #2BA95C
monochromatic
#421247 #6E1F78 #9B2BA9 #BF42CF #D073DB

Accessibility & contrast

On white

6.34
#9B2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9B2BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BA9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BA9#FFFFFF#000000##FFFFFF
##9B2BA91.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4064A6
Tritanopia (blue-blind)
#9D4368
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ba9;
/* rgb */ color: rgb(155, 43, 169);
/* oklch */ color: oklch(51.4% 0.205 323.0);
Tailwind
colors: {
  custom: {
    50: '#bc70c3',
    500: '#9b2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ba9;
$custom-light: #bc70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ba9",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 293.333,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.20493,
    "h": 323
  },
  "luminance": 0.11561
}

Semantic roles & 50–950 ramp

primary
#9B2BA9
secondary
#77C36D
accent
#E34557
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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