#9B339A#9B339A

#9B339A is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.3% C 0.183 H 328.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9B339A
RGBrgb(155, 51, 154)
HSLhsl(301, 50%, 40%)
HSVhsv(301, 67%, 61%)
CMYKcmyk(0%, 67.1%, 0.6%, 39.2%)
CIE-LABlab(40.69, 55.67, -34.87)
CIE-LCHlch(40.69, 65.69, 327.94°)
OKLaboklab(51.25% 0.1556 -0.0963)
OKLCHoklch(51.25% 0.183 328.2)
XYZxyz(20.5339, 11.6707, 31.7367)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B339A #339B34
analogous
#68339B #9B339A #9B3366
triadic
#9B339A #9A9B33 #339A9B
tetradic
#9B339A #9B6833 #339B34 #33669B
square
#9B339A #9B6833 #339B34 #33669B
split-complementary
#9B339A #669B33 #339B68
monochromatic
#3F153E #6D246C #9B339A #C348C2 #D276D1

Accessibility & contrast

On white

6.30
#9B339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9B339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B339A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B339A#FFFFFF#000000##FFFFFF
##9B339A1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579D
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#A04162
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b339a;
/* rgb */ color: rgb(155, 51, 154);
/* oklch */ color: oklch(51.3% 0.183 328.2);
Tailwind
colors: {
  custom: {
    50: '#bc73b8',
    500: '#9b339a',
    950: '#000000',
  },
}
SCSS
$custom: #9b339a;
$custom-light: #bc73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b339a",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 300.577,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51253,
    "c": 0.18304,
    "h": 328.2
  },
  "luminance": 0.11669
}

Semantic roles & 50–950 ramp

primary
#9B339A
secondary
#6FBA70
accent
#DA4F4E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9B339A

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

Preview Lab → · Contrast checker → · Palette generator →

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