#9B2BA8#9B2BA8

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

Color values

HEX#9B2BA8
RGBrgb(155, 43, 168)
HSLhsl(294, 59%, 41%)
HSVhsv(294, 74%, 66%)
CMYKcmyk(7.7%, 74.4%, 0%, 34.1%)
CIE-LABlab(40.45, 61.09, -43.65)
CIE-LCHlch(40.45, 75.08, 324.45°)
OKLaboklab(51.34% 0.1638 -0.1218)
OKLCHoklch(51.34% 0.204 323.4)
XYZxyz(21.4487, 11.5248, 38.1330)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BA8 #38A82B
analogous
#5D2BA8 #9B2BA8 #A82B77
triadic
#9B2BA8 #A89B2B #2BA89B
tetradic
#9B2BA8 #A85D2B #38A82B #2B77A8
square
#9B2BA8 #A85D2B #38A82B #2B77A8
split-complementary
#9B2BA8 #77A82B #2BA85D
monochromatic
#411247 #6E1F77 #9B2BA8 #C042CF #D072DB

Accessibility & contrast

On white

6.35
#9B2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2BA8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BA8#FFFFFF#000000##FFFFFF
##9B2BA81.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4064A5
Tritanopia (blue-blind)
#9E4268
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ba8;
/* rgb */ color: rgb(155, 43, 168);
/* oklch */ color: oklch(51.3% 0.204 323.4);
Tailwind
colors: {
  custom: {
    50: '#bc70c2',
    500: '#9b2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ba8;
$custom-light: #bc70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ba8",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 293.76,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51342,
    "c": 0.2041,
    "h": 323.4
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#9B2BA8
secondary
#75C26C
accent
#E24556
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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