#8B30BA#8B30BA

#8B30BA is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.209 H 311.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8B30BA
RGBrgb(139, 48, 186)
HSLhsl(280, 59%, 46%)
HSVhsv(280, 74%, 73%)
CMYKcmyk(25.3%, 74.2%, 0%, 27.1%)
CIE-LABlab(39.83, 59.53, -55.44)
CIE-LCHlch(39.83, 81.35, 317.04°)
OKLaboklab(50.79% 0.1373 -0.1569)
OKLCHoklch(50.79% 0.209 311.2)
XYZxyz(20.5657, 11.1486, 47.5134)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30BA #5FBA30
analogous
#4630BA #8B30BA #BA30A4
triadic
#8B30BA #BA8B30 #30BA8B
tetradic
#8B30BA #BA4630 #5FBA30 #30A4BA
square
#8B30BA #BA4630 #5FBA30 #30A4BA
split-complementary
#8B30BA #A4BA30 #30BA46
monochromatic
#421759 #672389 #8B30BA #A854D3 #C185DF

Accessibility & contrast

On white

6.50
#8B30BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8B30BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30BA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30BA#FFFFFF#000000##FFFFFF
##8B30BA1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#175FB7
Tritanopia (blue-blind)
#855073
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b30ba;
/* rgb */ color: rgb(139, 48, 186);
/* oklch */ color: oklch(50.8% 0.209 311.2);
Tailwind
colors: {
  custom: {
    50: '#b171d0',
    500: '#8b30ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b30ba;
$custom-light: #b171d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30ba",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 279.565,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50787,
    "c": 0.20852,
    "h": 311.2
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#8B30BA
secondary
#97C97D
accent
#E2467B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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