#9B2FA9#9B2FA9

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

Color values

HEX#9B2FA9
RGBrgb(155, 47, 169)
HSLhsl(293, 56%, 42%)
HSVhsv(293, 72%, 66%)
CMYKcmyk(8.3%, 72.2%, 0%, 33.7%)
CIE-LABlab(41.00, 59.86, -43.36)
CIE-LCHlch(41.00, 73.91, 324.08°)
OKLaboklab(51.76% 0.1599 -0.121)
OKLCHoklch(51.76% 0.201 322.9)
XYZxyz(21.6948, 11.8674, 38.6764)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FA9 #3DA92F
analogous
#5E2FA9 #9B2FA9 #A92F7A
triadic
#9B2FA9 #A99B2F #2FA99B
tetradic
#9B2FA9 #A95E2F #3DA92F #2F7AA9
square
#9B2FA9 #A95E2F #3DA92F #2F7AA9
split-complementary
#9B2FA9 #7AA92F #2FA95E
monochromatic
#431449 #6F2279 #9B2FA9 #BD49CC #CF79DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2FA9#FFFFFF#000000##FFFFFF
##9B2FA91.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)
#0059AC
Deuteranopia (green-blind)
#4265A6
Tritanopia (blue-blind)
#9D4569
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2fa9;
/* rgb */ color: rgb(155, 47, 169);
/* oklch */ color: oklch(51.8% 0.201 322.9);
Tailwind
colors: {
  custom: {
    50: '#bc72c3',
    500: '#9b2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fa9;
$custom-light: #bc72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fa9",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 293.115,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51756,
    "c": 0.2005,
    "h": 322.9
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#9B2FA9
secondary
#7BC272
accent
#E04859
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9B2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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