#9B2CB3#9B2CB3

#9B2CB3 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.212 H 319.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9B2CB3
RGBrgb(155, 44, 179)
HSLhsl(289, 61%, 44%)
HSVhsv(289, 75%, 70%)
CMYKcmyk(13.4%, 75.4%, 0%, 29.8%)
CIE-LABlab(41.26, 62.75, -48.89)
CIE-LCHlch(41.26, 79.55, 322.08°)
OKLaboklab(52.14% 0.162 -0.1372)
OKLCHoklch(52.14% 0.212 319.7)
XYZxyz(22.5539, 12.0257, 43.7723)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CB3 #44B32C
analogous
#572CB3 #9B2CB3 #B32C87
triadic
#9B2CB3 #B39B2C #2CB39B
tetradic
#9B2CB3 #B3572C #44B32C #2C87B3
square
#9B2CB3 #B3572C #44B32C #2C87B3
split-complementary
#9B2CB3 #87B32C #2CB357
monochromatic
#461451 #702082 #9B2CB3 #BA4AD2 #CD7BDF

Accessibility & contrast

On white

6.17
#9B2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9B2CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CB3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CB3#FFFFFF#000000##FFFFFF
##9B2CB31.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#9B486E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2cb3;
/* rgb */ color: rgb(155, 44, 179);
/* oklch */ color: oklch(52.1% 0.212 319.7);
Tailwind
colors: {
  custom: {
    50: '#bc71ca',
    500: '#9b2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cb3;
$custom-light: #bc71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cb3",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 289.333,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.21223,
    "h": 319.7
  },
  "luminance": 0.12025
}

Semantic roles & 50–950 ramp

primary
#9B2CB3
secondary
#83C774
accent
#E44460
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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