#9B2EA1#9B2EA1

#9B2EA1 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.195 H 325.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9B2EA1
RGBrgb(155, 46, 161)
HSLhsl(297, 56%, 41%)
HSVhsv(297, 71%, 63%)
CMYKcmyk(3.7%, 71.4%, 0%, 36.9%)
CIE-LABlab(40.41, 58.79, -39.53)
CIE-LCHlch(40.41, 70.85, 326.09°)
OKLaboklab(51.18% 0.1611 -0.1098)
OKLCHoklch(51.18% 0.195 325.7)
XYZxyz(20.9271, 11.4971, 34.8282)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EA1 #34A12E
analogous
#622EA1 #9B2EA1 #A12E6D
triadic
#9B2EA1 #A19B2E #2EA19B
tetradic
#9B2EA1 #A1622E #34A12E #2E6DA1
square
#9B2EA1 #A1622E #34A12E #2E6DA1
split-complementary
#9B2EA1 #6DA12E #2EA162
monochromatic
#3F1342 #6D2071 #9B2EA1 #C243C9 #D273D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2EA1#FFFFFF#000000##FFFFFF
##9B2EA11.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)
#1157A4
Deuteranopia (green-blind)
#47649E
Tritanopia (blue-blind)
#9F4164
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ea1;
/* rgb */ color: rgb(155, 46, 161);
/* oklch */ color: oklch(51.2% 0.195 325.7);
Tailwind
colors: {
  custom: {
    50: '#bc71bd',
    500: '#9b2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ea1;
$custom-light: #bc71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ea1",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 296.87,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51176,
    "c": 0.19497,
    "h": 325.7
  },
  "luminance": 0.11496
}

Semantic roles & 50–950 ramp

primary
#9B2EA1
secondary
#71BE6C
accent
#DF4951
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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