#9A2AA9#9A2AA9

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

Color values

HEX#9A2AA9
RGBrgb(154, 42, 169)
HSLhsl(293, 60%, 41%)
HSVhsv(293, 75%, 66%)
CMYKcmyk(8.9%, 75.1%, 0%, 33.7%)
CIE-LABlab(40.23, 61.39, -44.60)
CIE-LCHlch(40.23, 75.88, 324.00°)
OKLaboklab(51.17% 0.1635 -0.1246)
OKLCHoklch(51.17% 0.206 322.7)
XYZxyz(21.3151, 11.3918, 38.6045)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AA9 #39A92A
analogous
#5B2AA9 #9A2AA9 #A92A79
triadic
#9A2AA9 #A99A2A #2AA99A
tetradic
#9A2AA9 #A95B2A #39A92A #2A79A9
square
#9A2AA9 #A95B2A #39A92A #2A79A9
split-complementary
#9A2AA9 #79A92A #2AA95B
monochromatic
#411247 #6D1E78 #9A2AA9 #BF41D0 #CF72DC

Accessibility & contrast

On white

6.41
#9A2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9A2AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2AA9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AA9#FFFFFF#000000##FFFFFF
##9A2AA91.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#3E63A6
Tritanopia (blue-blind)
#9C4268
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2aa9;
/* rgb */ color: rgb(154, 42, 169);
/* oklch */ color: oklch(51.2% 0.206 322.7);
Tailwind
colors: {
  custom: {
    50: '#bc70c3',
    500: '#9a2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #9a2aa9;
$custom-light: #bc70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2aa9",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 292.913,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.20555,
    "h": 322.7
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#9A2AA9
secondary
#76C36C
accent
#E34457
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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