#9A2AA5#9A2AA5

#9A2AA5 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.202 H 324.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9A2AA5
RGBrgb(154, 42, 165)
HSLhsl(295, 59%, 41%)
HSVhsv(295, 75%, 65%)
CMYKcmyk(6.7%, 74.5%, 0%, 35.3%)
CIE-LABlab(39.99, 60.68, -42.60)
CIE-LCHlch(39.99, 74.14, 324.93°)
OKLaboklab(50.92% 0.1637 -0.1188)
OKLCHoklch(50.92% 0.202 324)
XYZxyz(20.9453, 11.2439, 36.6571)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AA5 #35A52A
analogous
#5C2AA5 #9A2AA5 #A52A72
triadic
#9A2AA5 #A59A2A #2AA59A
tetradic
#9A2AA5 #A55C2A #35A52A #2A72A5
square
#9A2AA5 #A55C2A #35A52A #2A72A5
split-complementary
#9A2AA5 #72A52A #2AA55C
monochromatic
#3F1143 #6C1E74 #9A2AA5 #C13ECE #D16FDA

Accessibility & contrast

On white

6.46
#9A2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9A2AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2AA5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AA5#FFFFFF#000000##FFFFFF
##9A2AA51.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4163A2
Tritanopia (blue-blind)
#9D4066
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a2aa5;
/* rgb */ color: rgb(154, 42, 165);
/* oklch */ color: oklch(50.9% 0.202 324.0);
Tailwind
colors: {
  custom: {
    50: '#bb70c0',
    500: '#9a2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #9a2aa5;
$custom-light: #bb70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2aa5",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 294.634,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50922,
    "c": 0.20226,
    "h": 324
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#9A2AA5
secondary
#71C169
accent
#E34553
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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