#9A2BB3#9A2BB3

#9A2BB3 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.213 H 319.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9A2BB3
RGBrgb(154, 43, 179)
HSLhsl(289, 61%, 44%)
HSVhsv(289, 76%, 70%)
CMYKcmyk(14%, 76%, 0%, 29.8%)
CIE-LABlab(40.98, 62.89, -49.34)
CIE-LCHlch(40.98, 79.93, 321.88°)
OKLaboklab(51.91% 0.1616 -0.1385)
OKLCHoklch(51.91% 0.213 319.4)
XYZxyz(22.3259, 11.8536, 43.7511)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2BB3 #44B32B
analogous
#562BB3 #9A2BB3 #B32B88
triadic
#9A2BB3 #B39A2B #2BB39A
tetradic
#9A2BB3 #B3562B #44B32B #2B88B3
square
#9A2BB3 #B3562B #44B32B #2B88B3
split-complementary
#9A2BB3 #88B32B #2BB356
monochromatic
#451350 #701F82 #9A2BB3 #BA48D3 #CC79DF

Accessibility & contrast

On white

6.23
#9A2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9A2BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2BB3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2BB3#FFFFFF#000000##FFFFFF
##9A2BB31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#3664B0
Tritanopia (blue-blind)
#9A476E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2bb3;
/* rgb */ color: rgb(154, 43, 179);
/* oklch */ color: oklch(51.9% 0.213 319.4);
Tailwind
colors: {
  custom: {
    50: '#bc71ca',
    500: '#9a2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2bb3;
$custom-light: #bc71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2bb3",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 288.971,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.21287,
    "h": 319.4
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#9A2BB3
secondary
#82C773
accent
#E44361
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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