#9B30BC#9B30BC

#9B30BC is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.216 H 316.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9B30BC
RGBrgb(155, 48, 188)
HSLhsl(286, 59%, 46%)
HSVhsv(286, 74%, 74%)
CMYKcmyk(17.6%, 74.5%, 0%, 26.3%)
CIE-LABlab(42.33, 63.07, -52.46)
CIE-LCHlch(42.33, 82.03, 320.24°)
OKLaboklab(53.08% 0.1573 -0.1477)
OKLCHoklch(53.08% 0.216 316.8)
XYZxyz(23.6503, 12.7143, 48.7755)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30BC #51BC30
analogous
#5530BC #9B30BC #BC3097
triadic
#9B30BC #BC9B30 #30BC9B
tetradic
#9B30BC #BC5530 #51BC30 #3097BC
square
#9B30BC #BC5530 #51BC30 #3097BC
split-complementary
#9B30BC #97BC30 #30BC55
monochromatic
#4B175A #73248B #9B30BC #B655D4 #CB86E0

Accessibility & contrast

On white

5.93
#9B30BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9B30BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30BC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30BC#FFFFFF#000000##FFFFFF
##9B30BC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3167B9
Tritanopia (blue-blind)
#994E74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b30bc;
/* rgb */ color: rgb(155, 48, 188);
/* oklch */ color: oklch(53.1% 0.216 316.8);
Tailwind
colors: {
  custom: {
    50: '#bd73d1',
    500: '#9b30bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b30bc;
$custom-light: #bd73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30bc",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 285.857,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.21576,
    "h": 316.8
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#9B30BC
secondary
#90CA7E
accent
#E3456A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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