#9B2EA3#9B2EA3

#9B2EA3 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.197 H 325.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9B2EA3
RGBrgb(155, 46, 163)
HSLhsl(296, 56%, 41%)
HSVhsv(296, 72%, 64%)
CMYKcmyk(4.9%, 71.8%, 0%, 36.1%)
CIE-LABlab(40.52, 59.15, -40.54)
CIE-LCHlch(40.52, 71.71, 325.57°)
OKLaboklab(51.3% 0.1611 -0.1128)
OKLCHoklch(51.3% 0.197 325)
XYZxyz(21.1049, 11.5682, 35.7645)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EA3 #36A32E
analogous
#602EA3 #9B2EA3 #A32E70
triadic
#9B2EA3 #A39B2E #2EA39B
tetradic
#9B2EA3 #A3602E #36A32E #2E70A3
square
#9B2EA3 #A3602E #36A32E #2E70A3
split-complementary
#9B2EA3 #70A32E #2EA360
monochromatic
#401344 #6E2173 #9B2EA3 #C144CA #D174D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2EA3#FFFFFF#000000##FFFFFF
##9B2EA31.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)
#0C57A6
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#9E4266
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ea3;
/* rgb */ color: rgb(155, 46, 163);
/* oklch */ color: oklch(51.3% 0.197 325.0);
Tailwind
colors: {
  custom: {
    50: '#bc71bf',
    500: '#9b2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ea3;
$custom-light: #bc71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ea3",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 295.897,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51296,
    "c": 0.19663,
    "h": 325
  },
  "luminance": 0.11567
}

Semantic roles & 50–950 ramp

primary
#9B2EA3
secondary
#73BF6D
accent
#DF4953
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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