#9B30AA#9B30AA

#9B30AA is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 51.9% C 0.200 H 322.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9B30AA
RGBrgb(155, 48, 170)
HSLhsl(293, 56%, 43%)
HSVhsv(293, 72%, 67%)
CMYKcmyk(8.8%, 71.8%, 0%, 33.3%)
CIE-LABlab(41.19, 59.67, -43.65)
CIE-LCHlch(41.19, 73.94, 323.81°)
OKLaboklab(51.91% 0.1588 -0.1219)
OKLCHoklch(51.91% 0.2 322.5)
XYZxyz(21.8295, 11.9860, 39.1861)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30AA #3FAA30
analogous
#5E30AA #9B30AA #AA307C
triadic
#9B30AA #AA9B30 #30AA9B
tetradic
#9B30AA #AA5E30 #3FAA30 #307CAA
square
#9B30AA #AA5E30 #3FAA30 #307CAA
split-complementary
#9B30AA #7CAA30 #30AA5E
monochromatic
#44154B #6F237A #9B30AA #BC4BCC #CE7BDA

Accessibility & contrast

On white

6.18
#9B30AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9B30AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30AA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30AA#FFFFFF#000000##FFFFFF
##9B30AA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4265A7
Tritanopia (blue-blind)
#9D466A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b30aa;
/* rgb */ color: rgb(155, 48, 170);
/* oklch */ color: oklch(51.9% 0.200 322.5);
Tailwind
colors: {
  custom: {
    50: '#bc73c4',
    500: '#9b30aa',
    950: '#000000',
  },
}
SCSS
$custom: #9b30aa;
$custom-light: #bc73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30aa",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 292.623,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.2002,
    "h": 322.5
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#9B30AA
secondary
#7DC274
accent
#DF495B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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