#9B30BF#9B30BF

#9B30BF is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.218 H 315.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9B30BF
RGBrgb(155, 48, 191)
HSLhsl(285, 60%, 47%)
HSVhsv(285, 75%, 75%)
CMYKcmyk(18.8%, 74.9%, 0%, 25.1%)
CIE-LABlab(42.53, 63.65, -53.90)
CIE-LCHlch(42.53, 83.40, 319.74°)
OKLaboklab(53.29% 0.1569 -0.1519)
OKLCHoklch(53.29% 0.218 315.9)
XYZxyz(23.9770, 12.8450, 50.4964)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30BF #54BF30
analogous
#5330BF #9B30BF #BF309C
triadic
#9B30BF #BF9B30 #30BF9B
tetradic
#9B30BF #BF5330 #54BF30 #309CBF
square
#9B30BF #BF5330 #54BF30 #309CBF
split-complementary
#9B30BF #9CBF30 #30BF53
monochromatic
#4C175D #73248E #9B30BF #B557D5 #CB88E1

Accessibility & contrast

On white

5.88
#9B30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9B30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30BF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30BF#FFFFFF#000000##FFFFFF
##9B30BF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#2E67BC
Tritanopia (blue-blind)
#984F76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b30bf;
/* rgb */ color: rgb(155, 48, 191);
/* oklch */ color: oklch(53.3% 0.218 315.9);
Tailwind
colors: {
  custom: {
    50: '#bd73d3',
    500: '#9b30bf',
    950: '#000000',
  },
}
SCSS
$custom: #9b30bf;
$custom-light: #bd73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30bf",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 284.895,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53286,
    "c": 0.21838,
    "h": 315.9
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

primary
#9B30BF
secondary
#93CB80
accent
#E3456D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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