#9A2BAD#9A2BAD

#9A2BAD is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.208 H 321.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9A2BAD
RGBrgb(154, 43, 173)
HSLhsl(291, 60%, 42%)
HSVhsv(291, 75%, 68%)
CMYKcmyk(11%, 75.1%, 0%, 32.2%)
CIE-LABlab(40.60, 61.78, -46.40)
CIE-LCHlch(40.60, 77.26, 323.09°)
OKLaboklab(51.52% 0.1622 -0.1299)
OKLCHoklch(51.52% 0.208 321.3)
XYZxyz(21.7323, 11.6161, 40.6245)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BAD #3EAD2B
analogous
#592BAD #9A2BAD #AD2B7F
triadic
#9A2BAD #AD9A2B #2BAD9A
tetradic
#9A2BAD #AD592B #3EAD2B #2B7FAD
square
#9A2BAD #AD592B #3EAD2B #2B7FAD
split-complementary
#9A2BAD #7FAD2B #2BAD59
monochromatic
#43134B #6E1F7C #9A2BAD #BC45D1 #CE76DD

Accessibility & contrast

On white

6.32
#9A2BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9A2BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BAD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BAD#FFFFFF#000000##FFFFFF
##9A2BAD1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#3B64AA
Tritanopia (blue-blind)
#9B456A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2bad;
/* rgb */ color: rgb(154, 43, 173);
/* oklch */ color: oklch(51.5% 0.208 321.3);
Tailwind
colors: {
  custom: {
    50: '#bc70c6',
    500: '#9a2bad',
    950: '#000000',
  },
}
SCSS
$custom: #9a2bad;
$custom-light: #bc70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2bad",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 291.231,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51515,
    "c": 0.20782,
    "h": 321.3
  },
  "luminance": 0.11615
}

Semantic roles & 50–950 ramp

primary
#9A2BAD
secondary
#7CC46F
accent
#E3445C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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