#9B30B5#9B30B5

#9B30B5 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.210 H 318.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9B30B5
RGBrgb(155, 48, 181)
HSLhsl(288, 58%, 45%)
HSVhsv(288, 73%, 71%)
CMYKcmyk(14.4%, 73.5%, 0%, 29%)
CIE-LABlab(41.88, 61.72, -49.08)
CIE-LCHlch(41.88, 78.86, 321.51°)
OKLaboklab(52.62% 0.1581 -0.1377)
OKLCHoklch(52.62% 0.21 318.9)
XYZxyz(22.9139, 12.4198, 44.8974)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30B5 #4AB530
analogous
#5930B5 #9B30B5 #B5308C
triadic
#9B30B5 #B59B30 #30B59B
tetradic
#9B30B5 #B55930 #4AB530 #308CB5
square
#9B30B5 #B55930 #4AB530 #308CB5
split-complementary
#9B30B5 #8CB530 #30B559
monochromatic
#481654 #722385 #9B30B5 #B851D1 #CC82DE

Accessibility & contrast

On white

6.03
#9B30B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9B30B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30B5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30B5#FFFFFF#000000##FFFFFF
##9B30B51.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3966B2
Tritanopia (blue-blind)
#9B4B70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b30b5;
/* rgb */ color: rgb(155, 48, 181);
/* oklch */ color: oklch(52.6% 0.210 318.9);
Tailwind
colors: {
  custom: {
    50: '#bc73cc',
    500: '#9b30b5',
    950: '#000000',
  },
}
SCSS
$custom: #9b30b5;
$custom-light: #bc73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30b5",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 288.271,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52615,
    "c": 0.20966,
    "h": 318.9
  },
  "luminance": 0.12419
}

Semantic roles & 50–950 ramp

primary
#9B30B5
secondary
#89C77A
accent
#E14665
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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