#9B30C2#9B30C2

#9B30C2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.221 H 315.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9B30C2
RGBrgb(155, 48, 194)
HSLhsl(284, 60%, 47%)
HSVhsv(284, 75%, 76%)
CMYKcmyk(20.1%, 75.3%, 0%, 23.9%)
CIE-LABlab(42.73, 64.24, -55.32)
CIE-LCHlch(42.73, 84.78, 319.26°)
OKLaboklab(53.49% 0.1565 -0.1561)
OKLCHoklch(53.49% 0.221 315.1)
XYZxyz(24.3105, 12.9784, 52.2530)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30C2 #57C230
analogous
#5230C2 #9B30C2 #C230A0
triadic
#9B30C2 #C29B30 #30C29B
tetradic
#9B30C2 #C25230 #57C230 #30A0C2
square
#9B30C2 #C25230 #57C230 #30A0C2
split-complementary
#9B30C2 #A0C230 #30C252
monochromatic
#4D1860 #742491 #9B30C2 #B559D6 #CB8AE2

Accessibility & contrast

On white

5.84
#9B30C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9B30C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30C2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30C2#FFFFFF#000000##FFFFFF
##9B30C21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#985177
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b30c2;
/* rgb */ color: rgb(155, 48, 194);
/* oklch */ color: oklch(53.5% 0.221 315.1);
Tailwind
colors: {
  custom: {
    50: '#bd74d5',
    500: '#9b30c2',
    950: '#000000',
  },
}
SCSS
$custom: #9b30c2;
$custom-light: #bd74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30c2",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 283.973,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53493,
    "c": 0.22103,
    "h": 315.1
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#9B30C2
secondary
#96CC82
accent
#E3446F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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