#9B2BA5#9B2BA5

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

Color values

HEX#9B2BA5
RGBrgb(155, 43, 165)
HSLhsl(295, 59%, 41%)
HSVhsv(295, 74%, 65%)
CMYKcmyk(6.1%, 73.9%, 0%, 35.3%)
CIE-LABlab(40.27, 60.55, -42.14)
CIE-LCHlch(40.27, 73.78, 325.16°)
OKLaboklab(51.15% 0.1639 -0.1174)
OKLCHoklch(51.15% 0.202 324.4)
XYZxyz(21.1724, 11.4143, 36.6780)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BA5 #35A52B
analogous
#5E2BA5 #9B2BA5 #A52B72
triadic
#9B2BA5 #A59B2B #2BA59B
tetradic
#9B2BA5 #A55E2B #35A52B #2B72A5
square
#9B2BA5 #A55E2B #35A52B #2B72A5
split-complementary
#9B2BA5 #72A52B #2BA55E
monochromatic
#401244 #6D1E74 #9B2BA5 #C240CD #D171DA

Accessibility & contrast

On white

6.40
#9B2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9B2BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BA5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BA5#FFFFFF#000000##FFFFFF
##9B2BA51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4363A2
Tritanopia (blue-blind)
#9E4166
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ba5;
/* rgb */ color: rgb(155, 43, 165);
/* oklch */ color: oklch(51.2% 0.202 324.4);
Tailwind
colors: {
  custom: {
    50: '#bc70c0',
    500: '#9b2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ba5;
$custom-light: #bc70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ba5",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 295.082,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51154,
    "c": 0.20163,
    "h": 324.4
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#9B2BA5
secondary
#72C16B
accent
#E24653
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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