#9A2BB7#9A2BB7

#9A2BB7 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.216 H 318.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9A2BB7
RGBrgb(154, 43, 183)
HSLhsl(288, 62%, 44%)
HSVhsv(288, 77%, 72%)
CMYKcmyk(15.8%, 76.5%, 0%, 28.2%)
CIE-LABlab(41.24, 63.64, -51.28)
CIE-LCHlch(41.24, 81.73, 321.14°)
OKLaboklab(52.18% 0.1612 -0.1442)
OKLCHoklch(52.18% 0.216 318.2)
XYZxyz(22.7364, 12.0177, 45.9126)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BB7 #48B72B
analogous
#542BB7 #9A2BB7 #B72B8E
triadic
#9A2BB7 #B79A2B #2BB79A
tetradic
#9A2BB7 #B7542B #48B72B #2B8EB7
square
#9A2BB7 #B7542B #48B72B #2B8EB7
split-complementary
#9A2BB7 #8EB72B #2BB754
monochromatic
#471454 #701F85 #9A2BB7 #B84BD5 #CC7CE0

Accessibility & contrast

On white

6.17
#9A2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2BB7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BB7#FFFFFF#000000##FFFFFF
##9A2BB71.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#994970
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2bb7;
/* rgb */ color: rgb(154, 43, 183);
/* oklch */ color: oklch(52.2% 0.216 318.2);
Tailwind
colors: {
  custom: {
    50: '#bc71cd',
    500: '#9a2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9a2bb7;
$custom-light: #bc71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2bb7",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 287.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52178,
    "c": 0.21625,
    "h": 318.2
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#9A2BB7
secondary
#86C975
accent
#E54364
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9A2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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