#8B30B8#8B30B8

#8B30B8 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.6% C 0.207 H 311.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8B30B8
RGBrgb(139, 48, 184)
HSLhsl(280, 59%, 45%)
HSVhsv(280, 74%, 72%)
CMYKcmyk(24.5%, 73.9%, 0%, 27.8%)
CIE-LABlab(39.69, 59.11, -54.49)
CIE-LCHlch(39.69, 80.39, 317.33°)
OKLaboklab(50.64% 0.1376 -0.1541)
OKLCHoklch(50.64% 0.207 311.8)
XYZxyz(20.3545, 11.0641, 46.4015)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30B8 #5DB830
analogous
#4730B8 #8B30B8 #B830A1
triadic
#8B30B8 #B88B30 #30B88B
tetradic
#8B30B8 #B84730 #5DB830 #30A1B8
square
#8B30B8 #B84730 #5DB830 #30A1B8
split-complementary
#8B30B8 #A1B830 #30B847
monochromatic
#421757 #662387 #8B30B8 #A853D2 #C184DF

Accessibility & contrast

On white

6.54
#8B30B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8B30B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30B8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30B8#FFFFFF#000000##FFFFFF
##8B30B81.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#1B5FB5
Tritanopia (blue-blind)
#854F72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b30b8;
/* rgb */ color: rgb(139, 48, 184);
/* oklch */ color: oklch(50.6% 0.207 311.8);
Tailwind
colors: {
  custom: {
    50: '#b171ce',
    500: '#8b30b8',
    950: '#000000',
  },
}
SCSS
$custom: #8b30b8;
$custom-light: #b171ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30b8",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 280.147,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.20664,
    "h": 311.8
  },
  "luminance": 0.11064
}

Semantic roles & 50–950 ramp

primary
#8B30B8
secondary
#95C87C
accent
#E2467A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B30B8

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

Preview Lab → · Contrast checker → · Palette generator →

#8B30B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva