#9B2EB9#9B2EB9

#9B2EB9 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.215 H 317.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9B2EB9
RGBrgb(155, 46, 185)
HSLhsl(287, 60%, 45%)
HSVhsv(287, 75%, 73%)
CMYKcmyk(16.2%, 75.1%, 0%, 27.5%)
CIE-LABlab(41.89, 63.20, -51.41)
CIE-LCHlch(41.89, 81.47, 320.87°)
OKLaboklab(52.71% 0.1595 -0.1446)
OKLCHoklch(52.71% 0.215 317.8)
XYZxyz(23.2503, 12.4264, 47.0634)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EB9 #4CB92E
analogous
#552EB9 #9B2EB9 #B92E92
triadic
#9B2EB9 #B99B2E #2EB99B
tetradic
#9B2EB9 #B9552E #4CB92E #2E92B9
square
#9B2EB9 #B9552E #4CB92E #2E92B9
split-complementary
#9B2EB9 #92B92E #2EB955
monochromatic
#491657 #722288 #9B2EB9 #B751D4 #CB82E0

Accessibility & contrast

On white

6.03
#9B2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9B2EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EB9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EB9#FFFFFF#000000##FFFFFF
##9B2EB91.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2eb9;
/* rgb */ color: rgb(155, 46, 185);
/* oklch */ color: oklch(52.7% 0.215 317.8);
Tailwind
colors: {
  custom: {
    50: '#bd72cf',
    500: '#9b2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #9b2eb9;
$custom-light: #bd72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2eb9",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 287.05,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52705,
    "c": 0.21526,
    "h": 317.8
  },
  "luminance": 0.12425
}

Semantic roles & 50–950 ramp

primary
#9B2EB9
secondary
#8BC97A
accent
#E34467
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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