#9A2A91#9A2A91

#9A2A91 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.186 H 331.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9A2A91
RGBrgb(154, 42, 145)
HSLhsl(305, 57%, 38%)
HSVhsv(305, 73%, 60%)
CMYKcmyk(0%, 72.7%, 5.8%, 39.6%)
CIE-LABlab(38.85, 57.29, -32.32)
CIE-LCHlch(38.85, 65.78, 330.57°)
OKLaboklab(49.74% 0.1637 -0.0889)
OKLCHoklch(49.74% 0.186 331.5)
XYZxyz(19.2652, 10.5718, 27.8085)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2A91 #2A9A33
analogous
#6B2A9A #9A2A91 #9A2A59
triadic
#9A2A91 #919A2A #2A919A
tetradic
#9A2A91 #9A6B2A #2A9A33 #2A599A
square
#9A2A91 #9A6B2A #2A9A33 #2A599A
split-complementary
#9A2A91 #599A2A #2A9A6B
monochromatic
#3A1036 #6A1D64 #9A2A91 #C938BD #D668CD

Accessibility & contrast

On white

6.74
#9A2A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9A2A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2A91
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2A91#FFFFFF#000000##FFFFFF
##9A2A911.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215194
Deuteranopia (green-blind)
#4D618E
Tritanopia (blue-blind)
#A0375B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a2a91;
/* rgb */ color: rgb(154, 42, 145);
/* oklch */ color: oklch(49.7% 0.186 331.5);
Tailwind
colors: {
  custom: {
    50: '#bb6fb1',
    500: '#9a2a91',
    950: '#000000',
  },
}
SCSS
$custom: #9a2a91;
$custom-light: #bb6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2a91",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 304.821,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.18634,
    "h": 331.5
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

primary
#9A2A91
secondary
#63BC6B
accent
#E05447
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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