#9A2BB6#9A2BB6

#9A2BB6 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.215 H 318.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9A2BB6
RGBrgb(154, 43, 182)
HSLhsl(288, 62%, 44%)
HSVhsv(288, 76%, 71%)
CMYKcmyk(15.4%, 76.4%, 0%, 28.6%)
CIE-LABlab(41.18, 63.45, -50.80)
CIE-LCHlch(41.18, 81.28, 321.32°)
OKLaboklab(52.11% 0.1613 -0.1428)
OKLCHoklch(52.11% 0.215 318.5)
XYZxyz(22.6326, 11.9762, 45.3664)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BB6 #47B62B
analogous
#552BB6 #9A2BB6 #B62B8D
triadic
#9A2BB6 #B69A2B #2BB69A
tetradic
#9A2BB6 #B6552B #47B62B #2B8DB6
square
#9A2BB6 #B6552B #47B62B #2B8DB6
split-complementary
#9A2BB6 #8DB62B #2BB655
monochromatic
#461453 #701F84 #9A2BB6 #B84AD4 #CC7BE0

Accessibility & contrast

On white

6.19
#9A2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9A2BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BB6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BB6#FFFFFF#000000##FFFFFF
##9A2BB61.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#3365B3
Tritanopia (blue-blind)
#99496F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2bb6;
/* rgb */ color: rgb(154, 43, 182);
/* oklch */ color: oklch(52.1% 0.215 318.5);
Tailwind
colors: {
  custom: {
    50: '#bc71cd',
    500: '#9a2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #9a2bb6;
$custom-light: #bc71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2bb6",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 287.914,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5211,
    "c": 0.21541,
    "h": 318.5
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#9A2BB6
secondary
#85C875
accent
#E54364
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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