#9A2BBC#9A2BBC

#9A2BBC is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.221 H 316.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9A2BBC
RGBrgb(154, 43, 188)
HSLhsl(286, 63%, 45%)
HSVhsv(286, 77%, 74%)
CMYKcmyk(18.1%, 77.1%, 0%, 26.3%)
CIE-LABlab(41.58, 64.59, -53.68)
CIE-LCHlch(41.58, 83.98, 320.27°)
OKLaboklab(52.52% 0.1605 -0.1512)
OKLCHoklch(52.52% 0.221 316.7)
XYZxyz(23.2660, 12.2296, 48.7022)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BBC #4DBC2B
analogous
#512BBC #9A2BBC #BC2B95
triadic
#9A2BBC #BC9A2B #2BBC9A
tetradic
#9A2BBC #BC512B #4DBC2B #2B95BC
square
#9A2BBC #BC512B #4DBC2B #2B95BC
split-complementary
#9A2BBC #95BC2B #2BBC51
monochromatic
#481458 #71208A #9A2BBC #B64ED6 #CB80E2

Accessibility & contrast

On white

6.09
#9A2BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9A2BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BBC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BBC#FFFFFF#000000##FFFFFF
##9A2BBC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2C65B9
Tritanopia (blue-blind)
#984C73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a2bbc;
/* rgb */ color: rgb(154, 43, 188);
/* oklch */ color: oklch(52.5% 0.221 316.7);
Tailwind
colors: {
  custom: {
    50: '#bc71d1',
    500: '#9a2bbc',
    950: '#000000',
  },
}
SCSS
$custom: #9a2bbc;
$custom-light: #bc71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2bbc",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 285.931,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.22052,
    "h": 316.7
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#9A2BBC
secondary
#8CCB78
accent
#E64268
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A2BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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