#9B2AAF#9B2AAF

#9B2AAF is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.211 H 321.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9B2AAF
RGBrgb(155, 42, 175)
HSLhsl(291, 61%, 43%)
HSVhsv(291, 76%, 69%)
CMYKcmyk(11.4%, 76%, 0%, 31.4%)
CIE-LABlab(40.77, 62.68, -47.30)
CIE-LCHlch(40.77, 78.53, 322.96°)
OKLaboklab(51.71% 0.1641 -0.1325)
OKLCHoklch(51.71% 0.211 321.1)
XYZxyz(22.0825, 11.7208, 41.6483)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AAF #3EAF2A
analogous
#582AAF #9B2AAF #AF2A81
triadic
#9B2AAF #AF9B2A #2AAF9B
tetradic
#9B2AAF #AF582A #3EAF2A #2A81AF
square
#9B2AAF #AF582A #3EAF2A #2A81AF
split-complementary
#9B2AAF #81AF2A #2AAF58
monochromatic
#44124C #6F1E7E #9B2AAF #BD44D2 #CE75DE

Accessibility & contrast

On white

6.28
#9B2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9B2AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2AAF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2AAF#FFFFFF#000000##FFFFFF
##9B2AAF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#9C456B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2aaf;
/* rgb */ color: rgb(155, 42, 175);
/* oklch */ color: oklch(51.7% 0.211 321.1);
Tailwind
colors: {
  custom: {
    50: '#bc70c7',
    500: '#9b2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #9b2aaf;
$custom-light: #bc70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2aaf",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 290.977,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51707,
    "c": 0.21094,
    "h": 321.1
  },
  "luminance": 0.1172
}

Semantic roles & 50–950 ramp

primary
#9B2AAF
secondary
#7CC66F
accent
#E4435C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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