#9B2BC4#9B2BC4

#9B2BC4 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.228 H 314.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9B2BC4
RGBrgb(155, 43, 196)
HSLhsl(284, 64%, 47%)
HSVhsv(284, 78%, 77%)
CMYKcmyk(20.9%, 78.1%, 0%, 23.1%)
CIE-LABlab(42.28, 66.32, -57.22)
CIE-LCHlch(42.28, 87.59, 319.21°)
OKLaboklab(53.22% 0.1604 -0.1616)
OKLCHoklch(53.22% 0.228 314.8)
XYZxyz(24.3436, 12.6827, 53.3795)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BC4 #54C42B
analogous
#4F2BC4 #9B2BC4 #C42BA0
triadic
#9B2BC4 #C49B2B #2BC49B
tetradic
#9B2BC4 #C44F2B #54C42B #2BA0C4
square
#9B2BC4 #C44F2B #54C42B #2BA0C4
split-complementary
#9B2BC4 #A0C42B #2BC44F
monochromatic
#4C1560 #732092 #9B2BC4 #B553D9 #CB85E4

Accessibility & contrast

On white

5.94
#9B2BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9B2BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BC4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BC4#FFFFFF#000000##FFFFFF
##9B2BC41.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#2166C1
Tritanopia (blue-blind)
#974F77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b2bc4;
/* rgb */ color: rgb(155, 43, 196);
/* oklch */ color: oklch(53.2% 0.228 314.8);
Tailwind
colors: {
  custom: {
    50: '#bd72d7',
    500: '#9b2bc4',
    950: '#000000',
  },
}
SCSS
$custom: #9b2bc4;
$custom-light: #bd72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2bc4",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 283.922,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.2277,
    "h": 314.8
  },
  "luminance": 0.12682
}

Semantic roles & 50–950 ramp

primary
#9B2BC4
secondary
#93CE7D
accent
#E7416D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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