#9B30BD#9B30BD

#9B30BD is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.217 H 316.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9B30BD
RGBrgb(155, 48, 189)
HSLhsl(286, 59%, 46%)
HSVhsv(286, 75%, 74%)
CMYKcmyk(18%, 74.6%, 0%, 25.9%)
CIE-LABlab(42.40, 63.26, -52.94)
CIE-LCHlch(42.40, 82.49, 320.07°)
OKLaboklab(53.15% 0.1572 -0.1491)
OKLCHoklch(53.15% 0.217 316.5)
XYZxyz(23.7584, 12.7576, 49.3452)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30BD #52BD30
analogous
#5530BD #9B30BD #BD3099
triadic
#9B30BD #BD9B30 #30BD9B
tetradic
#9B30BD #BD5530 #52BD30 #3099BD
square
#9B30BD #BD5530 #52BD30 #3099BD
split-complementary
#9B30BD #99BD30 #30BD55
monochromatic
#4B175B #73248C #9B30BD #B656D4 #CB87E0

Accessibility & contrast

On white

5.91
#9B30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9B30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30BD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30BD#FFFFFF#000000##FFFFFF
##9B30BD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3067BA
Tritanopia (blue-blind)
#994E75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b30bd;
/* rgb */ color: rgb(155, 48, 189);
/* oklch */ color: oklch(53.1% 0.217 316.5);
Tailwind
colors: {
  custom: {
    50: '#bd73d2',
    500: '#9b30bd',
    950: '#000000',
  },
}
SCSS
$custom: #9b30bd;
$custom-light: #bd73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30bd",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 285.532,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.21663,
    "h": 316.5
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#9B30BD
secondary
#91CA7F
accent
#E3456B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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