#9B5099#9B5099

#9B5099 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.9% C 0.138 H 328.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9B5099
RGBrgb(155, 80, 153)
HSLhsl(302, 32%, 46%)
HSVhsv(302, 48%, 61%)
CMYKcmyk(0%, 48.4%, 1.3%, 39.2%)
CIE-LABlab(45.64, 41.92, -26.50)
CIE-LCHlch(45.64, 49.59, 327.70°)
OKLaboklab(54.87% 0.1171 -0.0725)
OKLCHoklch(54.87% 0.138 328.2)
XYZxyz(22.1357, 15.0070, 31.8615)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5099 #509B52
analogous
#77509B #9B5099 #9B5073
triadic
#9B5099 #999B50 #50999B
tetradic
#9B5099 #9B7750 #509B52 #50739B
square
#9B5099 #9B7750 #509B52 #50739B
split-complementary
#9B5099 #739B50 #509B77
monochromatic
#4A2649 #733B71 #9B5099 #B672B4 #CB9ACA

Accessibility & contrast

On white

5.25
#9B5099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9B5099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B5099
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5099#FFFFFF#000000##FFFFFF
##9B50991.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A669B
Deuteranopia (green-blind)
#607097
Tritanopia (blue-blind)
#9F576D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b5099;
/* rgb */ color: rgb(155, 80, 153);
/* oklch */ color: oklch(54.9% 0.138 328.2);
Tailwind
colors: {
  custom: {
    50: '#ba84b7',
    500: '#9b5099',
    950: '#000000',
  },
}
SCSS
$custom: #9b5099;
$custom-light: #ba84b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5099",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 153
  },
  "hsl": {
    "h": 301.6,
    "s": 31.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.13774,
    "h": 328.2
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#9B5099
secondary
#8FB890
accent
#C86360
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9B5099

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

Preview Lab → · Contrast checker → · Palette generator →

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