#9A2BAA#9A2BAA

#9A2BAA is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.205 H 322.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9A2BAA
RGBrgb(154, 43, 170)
HSLhsl(292, 60%, 42%)
HSVhsv(292, 75%, 67%)
CMYKcmyk(9.4%, 74.7%, 0%, 33.3%)
CIE-LABlab(40.41, 61.24, -44.91)
CIE-LCHlch(40.41, 75.94, 323.74°)
OKLaboklab(51.32% 0.1625 -0.1255)
OKLCHoklch(51.32% 0.205 322.3)
XYZxyz(21.4453, 11.5013, 39.1128)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BAA #3BAA2B
analogous
#5B2BAA #9A2BAA #AA2B7B
triadic
#9A2BAA #AA9A2B #2BAA9A
tetradic
#9A2BAA #AA5B2B #3BAA2B #2B7BAA
square
#9A2BAA #AA5B2B #3BAA2B #2B7BAA
split-complementary
#9A2BAA #7BAA2B #2BAA5B
monochromatic
#421248 #6E1F79 #9A2BAA #BE43CF #CF74DC

Accessibility & contrast

On white

6.36
#9A2BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9A2BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BAA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BAA#FFFFFF#000000##FFFFFF
##9A2BAA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#3E63A7
Tritanopia (blue-blind)
#9C4369
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2baa;
/* rgb */ color: rgb(154, 43, 170);
/* oklch */ color: oklch(51.3% 0.205 322.3);
Tailwind
colors: {
  custom: {
    50: '#bc70c4',
    500: '#9a2baa',
    950: '#000000',
  },
}
SCSS
$custom: #9a2baa;
$custom-light: #bc70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2baa",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 292.441,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51322,
    "c": 0.20532,
    "h": 322.3
  },
  "luminance": 0.115
}

Semantic roles & 50–950 ramp

primary
#9A2BAA
secondary
#78C36E
accent
#E34559
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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