#9B2FA2#9B2FA2

#9B2FA2 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.195 H 325.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9B2FA2
RGBrgb(155, 47, 162)
HSLhsl(296, 55%, 41%)
HSVhsv(296, 71%, 64%)
CMYKcmyk(4.3%, 71%, 0%, 36.5%)
CIE-LABlab(40.59, 58.60, -39.83)
CIE-LCHlch(40.59, 70.86, 325.80°)
OKLaboklab(51.33% 0.1601 -0.1107)
OKLCHoklch(51.33% 0.195 325.3)
XYZxyz(21.0552, 11.6116, 35.3077)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FA2 #36A22F
analogous
#612FA2 #9B2FA2 #A22F6F
triadic
#9B2FA2 #A29B2F #2FA29B
tetradic
#9B2FA2 #A2612F #36A22F #2F6FA2
square
#9B2FA2 #A2612F #36A22F #2F6FA2
split-complementary
#9B2FA2 #6FA22F #2FA261
monochromatic
#401343 #6E2173 #9B2FA2 #C145C9 #D175D7

Accessibility & contrast

On white

6.32
#9B2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9B2FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FA2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FA2#FFFFFF#000000##FFFFFF
##9B2FA21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#47649F
Tritanopia (blue-blind)
#9F4265
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2fa2;
/* rgb */ color: rgb(155, 47, 162);
/* oklch */ color: oklch(51.3% 0.195 325.3);
Tailwind
colors: {
  custom: {
    50: '#bc72be',
    500: '#9b2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fa2;
$custom-light: #bc72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fa2",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 296.348,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51328,
    "c": 0.19463,
    "h": 325.3
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

primary
#9B2FA2
secondary
#73BF6E
accent
#DE4953
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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