#9A2AA3#9A2AA3

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

Color values

HEX#9A2AA3
RGBrgb(154, 42, 163)
HSLhsl(296, 59%, 40%)
HSVhsv(296, 74%, 64%)
CMYKcmyk(5.5%, 74.2%, 0%, 36.1%)
CIE-LABlab(39.87, 60.33, -41.59)
CIE-LCHlch(39.87, 73.28, 325.41°)
OKLaboklab(50.8% 0.1638 -0.1159)
OKLCHoklch(50.8% 0.201 324.7)
XYZxyz(20.7647, 11.1716, 35.7059)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AA3 #33A32A
analogous
#5D2AA3 #9A2AA3 #A32A70
triadic
#9A2AA3 #A39A2A #2AA39A
tetradic
#9A2AA3 #A35D2A #33A32A #2A70A3
square
#9A2AA3 #A35D2A #33A32A #2A70A3
split-complementary
#9A2AA3 #70A32A #2AA35D
monochromatic
#3E1142 #6C1D72 #9A2AA3 #C23DCD #D26EDA

Accessibility & contrast

On white

6.49
#9A2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9A2AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2AA3
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AA3#FFFFFF#000000##FFFFFF
##9A2AA31.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#4262A0
Tritanopia (blue-blind)
#9D3F65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a2aa3;
/* rgb */ color: rgb(154, 42, 163);
/* oklch */ color: oklch(50.8% 0.201 324.7);
Tailwind
colors: {
  custom: {
    50: '#bb70bf',
    500: '#9a2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2aa3;
$custom-light: #bb70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2aa3",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 295.537,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.20063,
    "h": 324.7
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#9A2AA3
secondary
#6FC068
accent
#E24651
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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