#9B2FBB#9B2FBB

#9B2FBB is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.216 H 317.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9B2FBB
RGBrgb(155, 47, 187)
HSLhsl(286, 60%, 46%)
HSVhsv(286, 75%, 73%)
CMYKcmyk(17.1%, 74.9%, 0%, 26.7%)
CIE-LABlab(42.14, 63.23, -52.18)
CIE-LCHlch(42.14, 81.98, 320.47°)
OKLaboklab(52.93% 0.1583 -0.1468)
OKLCHoklch(52.93% 0.216 317.2)
XYZxyz(23.5024, 12.5905, 48.1963)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FBB #4FBB2F
analogous
#552FBB #9B2FBB #BB2F95
triadic
#9B2FBB #BB9B2F #2FBB9B
tetradic
#9B2FBB #BB552F #4FBB2F #2F95BB
square
#9B2FBB #BB552F #4FBB2F #2F95BB
split-complementary
#9B2FBB #95BB2F #2FBB55
monochromatic
#4A1659 #72238A #9B2FBB #B653D4 #CB84E0

Accessibility & contrast

On white

5.97
#9B2FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9B2FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FBB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FBB#FFFFFF#000000##FFFFFF
##9B2FBB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#994D73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2fbb;
/* rgb */ color: rgb(155, 47, 187);
/* oklch */ color: oklch(52.9% 0.216 317.2);
Tailwind
colors: {
  custom: {
    50: '#bd73d0',
    500: '#9b2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fbb;
$custom-light: #bd73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fbb",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 286.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.21595,
    "h": 317.2
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#9B2FBB
secondary
#8EC97C
accent
#E34569
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9B2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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