#9B2BA7#9B2BA7

#9B2BA7 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.203 H 323.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9B2BA7
RGBrgb(155, 43, 167)
HSLhsl(294, 59%, 41%)
HSVhsv(294, 74%, 65%)
CMYKcmyk(7.2%, 74.3%, 0%, 34.5%)
CIE-LABlab(40.39, 60.91, -43.15)
CIE-LCHlch(40.39, 74.64, 324.69°)
OKLaboklab(51.28% 0.1638 -0.1204)
OKLCHoklch(51.28% 0.203 323.7)
XYZxyz(21.3559, 11.4876, 37.6442)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BA7 #37A72B
analogous
#5D2BA7 #9B2BA7 #A72B75
triadic
#9B2BA7 #A79B2B #2BA79B
tetradic
#9B2BA7 #A75D2B #37A72B #2B75A7
square
#9B2BA7 #A75D2B #37A72B #2B75A7
split-complementary
#9B2BA7 #75A72B #2BA75D
monochromatic
#411246 #6E1E76 #9B2BA7 #C041CE #D072DB

Accessibility & contrast

On white

6.37
#9B2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9B2BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BA7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BA7#FFFFFF#000000##FFFFFF
##9B2BA71.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4164A4
Tritanopia (blue-blind)
#9E4267
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ba7;
/* rgb */ color: rgb(155, 43, 167);
/* oklch */ color: oklch(51.3% 0.203 323.7);
Tailwind
colors: {
  custom: {
    50: '#bc70c2',
    500: '#9b2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ba7;
$custom-light: #bc70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ba7",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 294.194,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51279,
    "c": 0.20327,
    "h": 323.7
  },
  "luminance": 0.11486
}

Semantic roles & 50–950 ramp

primary
#9B2BA7
secondary
#74C26C
accent
#E24655
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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