#9B30BB#9B30BB

#9B30BB is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.215 H 317.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9B30BB
RGBrgb(155, 48, 187)
HSLhsl(286, 59%, 46%)
HSVhsv(286, 74%, 73%)
CMYKcmyk(17.1%, 74.3%, 0%, 26.7%)
CIE-LABlab(42.26, 62.87, -51.98)
CIE-LCHlch(42.26, 81.58, 320.42°)
OKLaboklab(53.01% 0.1574 -0.1463)
OKLCHoklch(53.01% 0.215 317.1)
XYZxyz(23.5428, 12.6713, 48.2098)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30BB #50BB30
analogous
#5530BB #9B30BB #BB3095
triadic
#9B30BB #BB9B30 #30BB9B
tetradic
#9B30BB #BB5530 #50BB30 #3095BB
square
#9B30BB #BB5530 #50BB30 #3095BB
split-complementary
#9B30BB #95BB30 #30BB55
monochromatic
#4A175A #73238A #9B30BB #B655D3 #CB86E0

Accessibility & contrast

On white

5.94
#9B30BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9B30BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30BB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30BB#FFFFFF#000000##FFFFFF
##9B30BB1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#994D73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b30bb;
/* rgb */ color: rgb(155, 48, 187);
/* oklch */ color: oklch(53.0% 0.215 317.1);
Tailwind
colors: {
  custom: {
    50: '#bd73d0',
    500: '#9b30bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b30bb;
$custom-light: #bd73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30bb",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 286.187,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53014,
    "c": 0.21488,
    "h": 317.1
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#9B30BB
secondary
#8FC97D
accent
#E2456A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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