#9B30B0#9B30B0

#9B30B0 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.205 H 320.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9B30B0
RGBrgb(155, 48, 176)
HSLhsl(290, 57%, 44%)
HSVhsv(290, 73%, 69%)
CMYKcmyk(11.9%, 72.7%, 0%, 31%)
CIE-LABlab(41.56, 60.78, -46.63)
CIE-LCHlch(41.56, 76.61, 322.51°)
OKLaboklab(52.29% 0.1585 -0.1306)
OKLCHoklch(52.29% 0.205 320.5)
XYZxyz(22.4101, 12.2182, 42.2438)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30B0 #45B030
analogous
#5B30B0 #9B30B0 #B03085
triadic
#9B30B0 #B09B30 #30B09B
tetradic
#9B30B0 #B05B30 #45B030 #3085B0
square
#9B30B0 #B05B30 #45B030 #3085B0
split-complementary
#9B30B0 #85B030 #30B05B
monochromatic
#461650 #712380 #9B30B0 #BA4ECF #CD7EDC

Accessibility & contrast

On white

6.10
#9B30B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9B30B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30B0
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30B0#FFFFFF#000000##FFFFFF
##9B30B01.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#3D66AD
Tritanopia (blue-blind)
#9C496D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b30b0;
/* rgb */ color: rgb(155, 48, 176);
/* oklch */ color: oklch(52.3% 0.205 320.5);
Tailwind
colors: {
  custom: {
    50: '#bc73c8',
    500: '#9b30b0',
    950: '#000000',
  },
}
SCSS
$custom: #9b30b0;
$custom-light: #bc73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30b0",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 290.156,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5229,
    "c": 0.20533,
    "h": 320.5
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#9B30B0
secondary
#84C577
accent
#E04761
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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