#9B309A#9B309A

#9B309A is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.187 H 328.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9B309A
RGBrgb(155, 48, 154)
HSLhsl(301, 53%, 40%)
HSVhsv(301, 69%, 61%)
CMYKcmyk(0%, 69%, 0.6%, 39.2%)
CIE-LABlab(40.27, 56.84, -35.52)
CIE-LCHlch(40.27, 67.03, 328.00°)
OKLaboklab(50.96% 0.1589 -0.0982)
OKLCHoklch(50.96% 0.187 328.3)
XYZxyz(20.4070, 11.4170, 31.6944)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B309A #309B31
analogous
#67309B #9B309A #9B3064
triadic
#9B309A #9A9B30 #309A9B
tetradic
#9B309A #9B6730 #309B31 #30649B
square
#9B309A #9B6730 #309B31 #30649B
split-complementary
#9B309A #649B30 #309B67
monochromatic
#3E133D #6C226C #9B309A #C543C4 #D372D2

Accessibility & contrast

On white

6.40
#9B309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9B309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B309A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B309A#FFFFFF#000000##FFFFFF
##9B309A1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569D
Deuteranopia (green-blind)
#4C6497
Tritanopia (blue-blind)
#A03F61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b309a;
/* rgb */ color: rgb(155, 48, 154);
/* oklch */ color: oklch(51.0% 0.187 328.3);
Tailwind
colors: {
  custom: {
    50: '#bc72b8',
    500: '#9b309a',
    950: '#000000',
  },
}
SCSS
$custom: #9b309a;
$custom-light: #bc72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b309a",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 300.561,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50955,
    "c": 0.18683,
    "h": 328.3
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#9B309A
secondary
#6CBB6C
accent
#DC4D4C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B309A

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

Preview Lab → · Contrast checker → · Palette generator →

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