#9A2AA4#9A2AA4

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

Color values

HEX#9A2AA4
RGBrgb(154, 42, 164)
HSLhsl(295, 59%, 40%)
HSVhsv(295, 74%, 64%)
CMYKcmyk(6.1%, 74.4%, 0%, 35.7%)
CIE-LABlab(39.93, 60.50, -42.10)
CIE-LCHlch(39.93, 73.71, 325.17°)
OKLaboklab(50.86% 0.1637 -0.1173)
OKLCHoklch(50.86% 0.201 324.4)
XYZxyz(20.8547, 11.2076, 36.1796)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AA4 #34A42A
analogous
#5D2AA4 #9A2AA4 #A42A71
triadic
#9A2AA4 #A49A2A #2AA49A
tetradic
#9A2AA4 #A45D2A #34A42A #2A71A4
square
#9A2AA4 #A45D2A #34A42A #2A71A4
split-complementary
#9A2AA4 #71A42A #2AA45D
monochromatic
#3E1143 #6C1E73 #9A2AA4 #C23ECD #D16EDA

Accessibility & contrast

On white

6.48
#9A2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9A2AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2AA4
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AA4#FFFFFF#000000##FFFFFF
##9A2AA41.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4263A1
Tritanopia (blue-blind)
#9D4065
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a2aa4;
/* rgb */ color: rgb(154, 42, 164);
/* oklch */ color: oklch(50.9% 0.201 324.4);
Tailwind
colors: {
  custom: {
    50: '#bb70bf',
    500: '#9a2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #9a2aa4;
$custom-light: #bb70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2aa4",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 295.082,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5086,
    "c": 0.20144,
    "h": 324.4
  },
  "luminance": 0.11206
}

Semantic roles & 50–950 ramp

primary
#9A2AA4
secondary
#70C169
accent
#E24552
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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