#9B2FBA#9B2FBA

#9B2FBA is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.215 H 317.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9B2FBA
RGBrgb(155, 47, 186)
HSLhsl(287, 60%, 46%)
HSVhsv(287, 75%, 73%)
CMYKcmyk(16.7%, 74.7%, 0%, 27.1%)
CIE-LABlab(42.07, 63.04, -51.70)
CIE-LCHlch(42.07, 81.53, 320.64°)
OKLaboklab(52.86% 0.1585 -0.1454)
OKLCHoklch(52.86% 0.215 317.5)
XYZxyz(23.3957, 12.5478, 47.6345)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FBA #4EBA2F
analogous
#552FBA #9B2FBA #BA2F93
triadic
#9B2FBA #BA9B2F #2FBA9B
tetradic
#9B2FBA #BA552F #4EBA2F #2F93BA
square
#9B2FBA #BA552F #4EBA2F #2F93BA
split-complementary
#9B2FBA #93BA2F #2FBA55
monochromatic
#4A1658 #722389 #9B2FBA #B753D3 #CB84E0

Accessibility & contrast

On white

5.98
#9B2FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9B2FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FBA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FBA#FFFFFF#000000##FFFFFF
##9B2FBA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#3366B7
Tritanopia (blue-blind)
#9A4C73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2fba;
/* rgb */ color: rgb(155, 47, 186);
/* oklch */ color: oklch(52.9% 0.215 317.5);
Tailwind
colors: {
  custom: {
    50: '#bd73cf',
    500: '#9b2fba',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fba;
$custom-light: #bd73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fba",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 286.619,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52859,
    "c": 0.21508,
    "h": 317.5
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#9B2FBA
secondary
#8DC97C
accent
#E34568
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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