#9A2AA7#9A2AA7

#9A2AA7 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.204 H 323.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9A2AA7
RGBrgb(154, 42, 167)
HSLhsl(294, 60%, 41%)
HSVhsv(294, 75%, 65%)
CMYKcmyk(7.8%, 74.9%, 0%, 34.5%)
CIE-LABlab(40.11, 61.04, -43.60)
CIE-LCHlch(40.11, 75.01, 324.46°)
OKLaboklab(51.05% 0.1636 -0.1217)
OKLCHoklch(51.05% 0.204 323.3)
XYZxyz(21.1288, 11.3173, 37.6233)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AA7 #37A72A
analogous
#5B2AA7 #9A2AA7 #A72A75
triadic
#9A2AA7 #A79A2A #2AA79A
tetradic
#9A2AA7 #A75B2A #37A72A #2A75A7
square
#9A2AA7 #A75B2A #37A72A #2A75A7
split-complementary
#9A2AA7 #75A72A #2AA75B
monochromatic
#401145 #6D1E76 #9A2AA7 #C03FCF #D070DB

Accessibility & contrast

On white

6.44
#9A2AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9A2AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2AA7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AA7#FFFFFF#000000##FFFFFF
##9A2AA71.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4063A4
Tritanopia (blue-blind)
#9D4167
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a2aa7;
/* rgb */ color: rgb(154, 42, 167);
/* oklch */ color: oklch(51.0% 0.204 323.3);
Tailwind
colors: {
  custom: {
    50: '#bb70c2',
    500: '#9a2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #9a2aa7;
$custom-light: #bb70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2aa7",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 293.76,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51048,
    "c": 0.2039,
    "h": 323.3
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#9A2AA7
secondary
#74C26B
accent
#E34555
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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