#9B2FB3#9B2FB3

#9B2FB3 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.209 H 319.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9B2FB3
RGBrgb(155, 47, 179)
HSLhsl(289, 58%, 44%)
HSVhsv(289, 74%, 70%)
CMYKcmyk(13.4%, 73.7%, 0%, 29.8%)
CIE-LABlab(41.62, 61.71, -48.30)
CIE-LCHlch(41.62, 78.36, 321.95°)
OKLaboklab(52.39% 0.1592 -0.1355)
OKLCHoklch(52.39% 0.209 319.6)
XYZxyz(22.6697, 12.2574, 43.8109)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FB3 #47B32F
analogous
#592FB3 #9B2FB3 #B32F89
triadic
#9B2FB3 #B39B2F #2FB39B
tetradic
#9B2FB3 #B3592F #47B32F #2F89B3
square
#9B2FB3 #B3592F #47B32F #2F89B3
split-complementary
#9B2FB3 #89B32F #2FB359
monochromatic
#471652 #712283 #9B2FB3 #B94FD1 #CC7FDD

Accessibility & contrast

On white

6.08
#9B2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9B2FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FB3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FB3#FFFFFF#000000##FFFFFF
##9B2FB31.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#9B496F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2fb3;
/* rgb */ color: rgb(155, 47, 179);
/* oklch */ color: oklch(52.4% 0.209 319.6);
Tailwind
colors: {
  custom: {
    50: '#bc73ca',
    500: '#9b2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fb3;
$custom-light: #bc73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fb3",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 289.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.20903,
    "h": 319.6
  },
  "luminance": 0.12256
}

Semantic roles & 50–950 ramp

primary
#9B2FB3
secondary
#86C678
accent
#E24662
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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