#9A2AA2#9A2AA2

#9A2AA2 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.200 H 325.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9A2AA2
RGBrgb(154, 42, 162)
HSLhsl(296, 59%, 40%)
HSVhsv(296, 74%, 64%)
CMYKcmyk(4.9%, 74.1%, 0%, 36.5%)
CIE-LABlab(39.81, 60.15, -41.09)
CIE-LCHlch(39.81, 72.85, 325.66°)
OKLaboklab(50.74% 0.1638 -0.1144)
OKLCHoklch(50.74% 0.2 325.1)
XYZxyz(20.6755, 11.1359, 35.2359)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AA2 #32A22A
analogous
#5E2AA2 #9A2AA2 #A22A6E
triadic
#9A2AA2 #A29A2A #2AA29A
tetradic
#9A2AA2 #A25E2A #32A22A #2A6EA2
square
#9A2AA2 #A25E2A #32A22A #2A6EA2
split-complementary
#9A2AA2 #6EA22A #2AA25E
monochromatic
#3E1141 #6C1D71 #9A2AA2 #C33DCD #D26DD9

Accessibility & contrast

On white

6.51
#9A2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2AA2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AA2#FFFFFF#000000##FFFFFF
##9A2AA21.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#43629F
Tritanopia (blue-blind)
#9D3F64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a2aa2;
/* rgb */ color: rgb(154, 42, 162);
/* oklch */ color: oklch(50.7% 0.200 325.1);
Tailwind
colors: {
  custom: {
    50: '#bb70be',
    500: '#9a2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2aa2;
$custom-light: #bb70be;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2aa2",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 296,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.19981,
    "h": 325.1
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#9A2AA2
secondary
#6EC068
accent
#E24650
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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