#9B2EBA#9B2EBA

#9B2EBA is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.216 H 317.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9B2EBA
RGBrgb(155, 46, 186)
HSLhsl(287, 60%, 45%)
HSVhsv(287, 75%, 73%)
CMYKcmyk(16.7%, 75.3%, 0%, 27.1%)
CIE-LABlab(41.95, 63.39, -51.90)
CIE-LCHlch(41.95, 81.92, 320.69°)
OKLaboklab(52.77% 0.1594 -0.146)
OKLCHoklch(52.77% 0.216 317.5)
XYZxyz(23.3562, 12.4688, 47.6213)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EBA #4DBA2E
analogous
#552EBA #9B2EBA #BA2E93
triadic
#9B2EBA #BA9B2E #2EBA9B
tetradic
#9B2EBA #BA552E #4DBA2E #2E93BA
square
#9B2EBA #BA552E #4DBA2E #2E93BA
split-complementary
#9B2EBA #93BA2E #2EBA55
monochromatic
#491658 #722289 #9B2EBA #B751D4 #CB82E0

Accessibility & contrast

On white

6.01
#9B2EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9B2EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EBA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EBA#FFFFFF#000000##FFFFFF
##9B2EBA1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#3266B7
Tritanopia (blue-blind)
#9A4C72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2eba;
/* rgb */ color: rgb(155, 46, 186);
/* oklch */ color: oklch(52.8% 0.216 317.5);
Tailwind
colors: {
  custom: {
    50: '#bd72cf',
    500: '#9b2eba',
    950: '#000000',
  },
}
SCSS
$custom: #9b2eba;
$custom-light: #bd72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2eba",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 286.714,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52772,
    "c": 0.21613,
    "h": 317.5
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#9B2EBA
secondary
#8CC97B
accent
#E34468
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9B2EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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