#9A2BB4#9A2BB4

#9A2BB4 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.214 H 319.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9A2BB4
RGBrgb(154, 43, 180)
HSLhsl(289, 61%, 44%)
HSVhsv(289, 76%, 71%)
CMYKcmyk(14.4%, 76.1%, 0%, 29.4%)
CIE-LABlab(41.05, 63.08, -49.83)
CIE-LCHlch(41.05, 80.38, 321.69°)
OKLaboklab(51.98% 0.1615 -0.1399)
OKLCHoklch(51.98% 0.214 319.1)
XYZxyz(22.4274, 11.8942, 44.2856)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BB4 #45B42B
analogous
#552BB4 #9A2BB4 #B42B89
triadic
#9A2BB4 #B49A2B #2BB49A
tetradic
#9A2BB4 #B4552B #45B42B #2B89B4
square
#9A2BB4 #B4552B #45B42B #2B89B4
split-complementary
#9A2BB4 #89B42B #2BB455
monochromatic
#451351 #701F83 #9A2BB4 #B949D3 #CC7ADF

Accessibility & contrast

On white

6.22
#9A2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9A2BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BB4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BB4#FFFFFF#000000##FFFFFF
##9A2BB41.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#3564B1
Tritanopia (blue-blind)
#9A486E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2bb4;
/* rgb */ color: rgb(154, 43, 180);
/* oklch */ color: oklch(52.0% 0.214 319.1);
Tailwind
colors: {
  custom: {
    50: '#bc71cb',
    500: '#9a2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #9a2bb4;
$custom-light: #bc71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2bb4",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 288.613,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.21372,
    "h": 319.1
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#9A2BB4
secondary
#83C773
accent
#E54362
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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