#9B30A4#9B30A4

#9B30A4 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.195 H 324.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9B30A4
RGBrgb(155, 48, 164)
HSLhsl(295, 55%, 42%)
HSVhsv(295, 71%, 64%)
CMYKcmyk(5.5%, 70.7%, 0%, 35.7%)
CIE-LABlab(40.84, 58.59, -40.64)
CIE-LCHlch(40.84, 71.30, 325.26°)
OKLaboklab(51.54% 0.159 -0.1131)
OKLCHoklch(51.54% 0.195 324.6)
XYZxyz(21.2748, 11.7641, 36.2649)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30A4 #39A430
analogous
#6130A4 #9B30A4 #A43073
triadic
#9B30A4 #A49B30 #30A49B
tetradic
#9B30A4 #A46130 #39A430 #3073A4
square
#9B30A4 #A46130 #39A430 #3073A4
split-complementary
#9B30A4 #73A430 #30A461
monochromatic
#421445 #6E2275 #9B30A4 #BF48C9 #D077D7

Accessibility & contrast

On white

6.26
#9B30A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9B30A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30A4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30A4#FFFFFF#000000##FFFFFF
##9B30A41.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F58A7
Deuteranopia (green-blind)
#4665A1
Tritanopia (blue-blind)
#9E4367
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b30a4;
/* rgb */ color: rgb(155, 48, 164);
/* oklch */ color: oklch(51.5% 0.195 324.6);
Tailwind
colors: {
  custom: {
    50: '#bc72bf',
    500: '#9b30a4',
    950: '#000000',
  },
}
SCSS
$custom: #9b30a4;
$custom-light: #bc72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30a4",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 295.345,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51542,
    "c": 0.19512,
    "h": 324.6
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#9B30A4
secondary
#77BF70
accent
#DE4A55
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9B30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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