#9A2BB1#9A2BB1

#9A2BB1 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.211 H 320.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9A2BB1
RGBrgb(154, 43, 177)
HSLhsl(290, 61%, 43%)
HSVhsv(290, 76%, 69%)
CMYKcmyk(13%, 75.7%, 0%, 30.6%)
CIE-LABlab(40.85, 62.52, -48.36)
CIE-LCHlch(40.85, 79.04, 322.28°)
OKLaboklab(51.78% 0.1619 -0.1356)
OKLCHoklch(51.78% 0.211 320)
XYZxyz(22.1251, 11.7732, 42.6935)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BB1 #42B12B
analogous
#572BB1 #9A2BB1 #B12B85
triadic
#9A2BB1 #B19A2B #2BB19A
tetradic
#9A2BB1 #B1572B #42B12B #2B85B1
square
#9A2BB1 #B1572B #42B12B #2B85B1
split-complementary
#9A2BB1 #85B12B #2BB157
monochromatic
#44134F #6F1F80 #9A2BB1 #BA47D2 #CD78DE

Accessibility & contrast

On white

6.26
#9A2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9A2BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BB1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BB1#FFFFFF#000000##FFFFFF
##9A2BB11.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3864AE
Tritanopia (blue-blind)
#9A466D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2bb1;
/* rgb */ color: rgb(154, 43, 177);
/* oklch */ color: oklch(51.8% 0.211 320.0);
Tailwind
colors: {
  custom: {
    50: '#bc71c9',
    500: '#9a2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #9a2bb1;
$custom-light: #bc71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2bb1",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 289.701,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.21118,
    "h": 320
  },
  "luminance": 0.11772
}

Semantic roles & 50–950 ramp

primary
#9A2BB1
secondary
#80C672
accent
#E4445F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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