#9A2AB5#9A2AB5

#9A2AB5 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.216 H 318.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9A2AB5
RGBrgb(154, 42, 181)
HSLhsl(288, 62%, 44%)
HSVhsv(288, 77%, 71%)
CMYKcmyk(14.9%, 76.8%, 0%, 29%)
CIE-LABlab(41.00, 63.59, -50.50)
CIE-LCHlch(41.00, 81.20, 321.55°)
OKLaboklab(51.96% 0.1623 -0.1419)
OKLCHoklch(51.96% 0.216 318.8)
XYZxyz(22.4938, 11.8632, 44.8121)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AB5 #45B52A
analogous
#542AB5 #9A2AB5 #B52A8A
triadic
#9A2AB5 #B59A2A #2AB59A
tetradic
#9A2AB5 #B5542A #45B52A #2A8AB5
square
#9A2AB5 #B5542A #45B52A #2A8AB5
split-complementary
#9A2AB5 #8AB52A #2AB554
monochromatic
#451352 #701E83 #9A2AB5 #B948D4 #CC79E0

Accessibility & contrast

On white

6.23
#9A2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9A2AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2AB5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AB5#FFFFFF#000000##FFFFFF
##9A2AB51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#3364B2
Tritanopia (blue-blind)
#9A486F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2ab5;
/* rgb */ color: rgb(154, 42, 181);
/* oklch */ color: oklch(52.0% 0.216 318.8);
Tailwind
colors: {
  custom: {
    50: '#bc70cc',
    500: '#9a2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ab5;
$custom-light: #bc70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ab5",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 288.345,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51962,
    "c": 0.21556,
    "h": 318.8
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#9A2AB5
secondary
#83C873
accent
#E54262
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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