#9B2FAA#9B2FAA

#9B2FAA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.201 H 322.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9B2FAA
RGBrgb(155, 47, 170)
HSLhsl(293, 57%, 43%)
HSVhsv(293, 72%, 67%)
CMYKcmyk(8.8%, 72.4%, 0%, 33.3%)
CIE-LABlab(41.06, 60.04, -43.86)
CIE-LCHlch(41.06, 74.35, 323.85°)
OKLaboklab(51.82% 0.1598 -0.1225)
OKLCHoklch(51.82% 0.201 322.5)
XYZxyz(21.7891, 11.9051, 39.1727)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FAA #3EAA2F
analogous
#5E2FAA #9B2FAA #AA2F7B
triadic
#9B2FAA #AA9B2F #2FAA9B
tetradic
#9B2FAA #AA5E2F #3EAA2F #2F7BAA
square
#9B2FAA #AA5E2F #3EAA2F #2F7BAA
split-complementary
#9B2FAA #7BAA2F #2FAA5E
monochromatic
#44144A #6F227A #9B2FAA #BD49CD #CE79DA

Accessibility & contrast

On white

6.21
#9B2FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2FAA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FAA#FFFFFF#000000##FFFFFF
##9B2FAA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4165A7
Tritanopia (blue-blind)
#9D456A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2faa;
/* rgb */ color: rgb(155, 47, 170);
/* oklch */ color: oklch(51.8% 0.201 322.5);
Tailwind
colors: {
  custom: {
    50: '#bc72c4',
    500: '#9b2faa',
    950: '#000000',
  },
}
SCSS
$custom: #9b2faa;
$custom-light: #bc72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2faa",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 292.683,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.20134,
    "h": 322.5
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#9B2FAA
secondary
#7CC272
accent
#E0485A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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