#9A2AAA#9A2AAA

#9A2AAA is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.206 H 322.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9A2AAA
RGBrgb(154, 42, 170)
HSLhsl(293, 60%, 42%)
HSVhsv(293, 75%, 67%)
CMYKcmyk(9.4%, 75.3%, 0%, 33.3%)
CIE-LABlab(40.29, 61.57, -45.10)
CIE-LCHlch(40.29, 76.32, 323.78°)
OKLaboklab(51.24% 0.1634 -0.1261)
OKLCHoklch(51.24% 0.206 322.3)
XYZxyz(21.4093, 11.4295, 39.1008)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AAA #3AAA2A
analogous
#5A2AAA #9A2AAA #AA2A7A
triadic
#9A2AAA #AA9A2A #2AAA9A
tetradic
#9A2AAA #AA5A2A #3AAA2A #2A7AAA
square
#9A2AAA #AA5A2A #3AAA2A #2A7AAA
split-complementary
#9A2AAA #7AAA2A #2AAA5A
monochromatic
#411248 #6E1E79 #9A2AAA #BE41D0 #CF72DC

Accessibility & contrast

On white

6.39
#9A2AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9A2AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2AAA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AAA#FFFFFF#000000##FFFFFF
##9A2AAA1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2aaa;
/* rgb */ color: rgb(154, 42, 170);
/* oklch */ color: oklch(51.2% 0.206 322.3);
Tailwind
colors: {
  custom: {
    50: '#bc70c4',
    500: '#9a2aaa',
    950: '#000000',
  },
}
SCSS
$custom: #9a2aaa;
$custom-light: #bc70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2aaa",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 292.5,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51238,
    "c": 0.20637,
    "h": 322.3
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#9A2AAA
secondary
#77C36C
accent
#E44458
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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