#9A2B8A#9A2B8A

#9A2B8A is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.180 H 334.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9A2B8A
RGBrgb(154, 43, 138)
HSLhsl(309, 56%, 39%)
HSVhsv(309, 72%, 60%)
CMYKcmyk(0%, 72.1%, 10.4%, 39.6%)
CIE-LABlab(38.61, 55.82, -28.42)
CIE-LCHlch(38.61, 62.63, 333.02°)
OKLaboklab(49.45% 0.1622 -0.0777)
OKLCHoklch(49.45% 0.18 334.4)
XYZxyz(18.7779, 10.4344, 25.0649)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2B8A #2B9A3B
analogous
#722B9A #9A2B8A #9A2B52
triadic
#9A2B8A #8A9A2B #2B8A9A
tetradic
#9A2B8A #9A722B #2B9A3B #2B529A
square
#9A2B8A #9A722B #2B9A3B #2B529A
split-complementary
#9A2B8A #529A2B #2B9A72
monochromatic
#3A1034 #6A1E5F #9A2B8A #C83AB4 #D56AC6

Accessibility & contrast

On white

6.80
#9A2B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9A2B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2B8A
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2B8A#FFFFFF#000000##FFFFFF
##9A2B8A1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508D
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#A13457
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a2b8a;
/* rgb */ color: rgb(154, 43, 138);
/* oklch */ color: oklch(49.5% 0.180 334.4);
Tailwind
colors: {
  custom: {
    50: '#bb6fac',
    500: '#9a2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #9a2b8a;
$custom-light: #bb6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2b8a",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 308.649,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4945,
    "c": 0.17986,
    "h": 334.4
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#9A2B8A
secondary
#65BC71
accent
#E05E48
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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