#9B2EB3#9B2EB3

#9B2EB3 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.210 H 319.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9B2EB3
RGBrgb(155, 46, 179)
HSLhsl(289, 59%, 44%)
HSVhsv(289, 74%, 70%)
CMYKcmyk(13.4%, 74.3%, 0%, 29.8%)
CIE-LABlab(41.50, 62.06, -48.50)
CIE-LCHlch(41.50, 78.77, 321.99°)
OKLaboklab(52.31% 0.1601 -0.136)
OKLCHoklch(52.31% 0.21 319.6)
XYZxyz(22.6302, 12.1784, 43.7977)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EB3 #46B32E
analogous
#592EB3 #9B2EB3 #B32E89
triadic
#9B2EB3 #B39B2E #2EB39B
tetradic
#9B2EB3 #B3592E #46B32E #2E89B3
square
#9B2EB3 #B3592E #46B32E #2E89B3
split-complementary
#9B2EB3 #89B32E #2EB359
monochromatic
#471552 #712182 #9B2EB3 #B94DD1 #CC7EDE

Accessibility & contrast

On white

6.11
#9B2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9B2EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EB3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EB3#FFFFFF#000000##FFFFFF
##9B2EB31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3966B0
Tritanopia (blue-blind)
#9B496E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2eb3;
/* rgb */ color: rgb(155, 46, 179);
/* oklch */ color: oklch(52.3% 0.210 319.6);
Tailwind
colors: {
  custom: {
    50: '#bc72ca',
    500: '#9b2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2eb3;
$custom-light: #bc72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2eb3",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 289.173,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52306,
    "c": 0.21011,
    "h": 319.6
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#9B2EB3
secondary
#85C676
accent
#E24662
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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