#9B2FB9#9B2FB9

#9B2FB9 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.214 H 317.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9B2FB9
RGBrgb(155, 47, 185)
HSLhsl(287, 59%, 45%)
HSVhsv(287, 75%, 73%)
CMYKcmyk(16.2%, 74.6%, 0%, 27.5%)
CIE-LABlab(42.01, 62.84, -51.22)
CIE-LCHlch(42.01, 81.07, 320.82°)
OKLaboklab(52.79% 0.1586 -0.144)
OKLCHoklch(52.79% 0.214 317.8)
XYZxyz(23.2898, 12.5054, 47.0765)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FB9 #4DB92F
analogous
#562FB9 #9B2FB9 #B92F92
triadic
#9B2FB9 #B99B2F #2FB99B
tetradic
#9B2FB9 #B9562F #4DB92F #2F92B9
square
#9B2FB9 #B9562F #4DB92F #2F92B9
split-complementary
#9B2FB9 #92B92F #2FB956
monochromatic
#491657 #722388 #9B2FB9 #B752D3 #CB83DF

Accessibility & contrast

On white

6.00
#9B2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9B2FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FB9
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FB9#FFFFFF#000000##FFFFFF
##9B2FB91.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#3466B6
Tritanopia (blue-blind)
#9A4C72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2fb9;
/* rgb */ color: rgb(155, 47, 185);
/* oklch */ color: oklch(52.8% 0.214 317.8);
Tailwind
colors: {
  custom: {
    50: '#bd73cf',
    500: '#9b2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fb9;
$custom-light: #bd73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fb9",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 286.957,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52792,
    "c": 0.21421,
    "h": 317.8
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#9B2FB9
secondary
#8CC97B
accent
#E34567
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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