#9A2BB5#9A2BB5

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

Color values

HEX#9A2BB5
RGBrgb(154, 43, 181)
HSLhsl(288, 62%, 44%)
HSVhsv(288, 76%, 71%)
CMYKcmyk(14.9%, 76.2%, 0%, 29%)
CIE-LABlab(41.11, 63.26, -50.31)
CIE-LCHlch(41.11, 80.83, 321.51°)
OKLaboklab(52.04% 0.1614 -0.1414)
OKLCHoklch(52.04% 0.215 318.8)
XYZxyz(22.5297, 11.9351, 44.8241)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BB5 #46B52B
analogous
#552BB5 #9A2BB5 #B52B8B
triadic
#9A2BB5 #B59A2B #2BB59A
tetradic
#9A2BB5 #B5552B #46B52B #2B8BB5
square
#9A2BB5 #B5552B #46B52B #2B8BB5
split-complementary
#9A2BB5 #8BB52B #2BB555
monochromatic
#461452 #701F84 #9A2BB5 #B949D4 #CC7BE0

Accessibility & contrast

On white

6.20
#9A2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9A2BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BB5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BB5#FFFFFF#000000##FFFFFF
##9A2BB51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#3464B2
Tritanopia (blue-blind)
#9A486F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2bb5;
/* rgb */ color: rgb(154, 43, 181);
/* oklch */ color: oklch(52.0% 0.215 318.8);
Tailwind
colors: {
  custom: {
    50: '#bc71cc',
    500: '#9a2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #9a2bb5;
$custom-light: #bc71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2bb5",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 288.261,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.21456,
    "h": 318.8
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#9A2BB5
secondary
#84C874
accent
#E54363
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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