#9B2E99#9B2E99

#9B2E99 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.188 H 328.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9B2E99
RGBrgb(155, 46, 153)
HSLhsl(301, 54%, 39%)
HSVhsv(301, 70%, 61%)
CMYKcmyk(0%, 70.3%, 1.3%, 39.2%)
CIE-LABlab(39.95, 57.41, -35.42)
CIE-LCHlch(39.95, 67.46, 328.33°)
OKLaboklab(50.71% 0.161 -0.0979)
OKLCHoklch(50.71% 0.188 328.7)
XYZxyz(20.2441, 11.2239, 31.2310)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E99 #2E9B30
analogous
#672E9B #9B2E99 #9B2E63
triadic
#9B2E99 #999B2E #2E999B
tetradic
#9B2E99 #9B672E #2E9B30 #2E639B
square
#9B2E99 #9B672E #2E9B30 #2E639B
split-complementary
#9B2E99 #639B2E #2E9B67
monochromatic
#3D123C #6C206A #9B2E99 #C640C4 #D46FD2

Accessibility & contrast

On white

6.47
#9B2E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9B2E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E99
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E99#FFFFFF#000000##FFFFFF
##9B2E991.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#A03D60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2e99;
/* rgb */ color: rgb(155, 46, 153);
/* oklch */ color: oklch(50.7% 0.188 328.7);
Tailwind
colors: {
  custom: {
    50: '#bc71b7',
    500: '#9b2e99',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e99;
$custom-light: #bc71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e99",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 301.101,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50707,
    "c": 0.18846,
    "h": 328.7
  },
  "luminance": 0.11222
}

Semantic roles & 50–950 ramp

primary
#9B2E99
secondary
#69BC6B
accent
#DE4D4A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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