#8B30BB#8B30BB

#8B30BB is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.9% C 0.209 H 310.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8B30BB
RGBrgb(139, 48, 187)
HSLhsl(279, 59%, 46%)
HSVhsv(279, 74%, 73%)
CMYKcmyk(25.7%, 74.3%, 0%, 26.7%)
CIE-LABlab(39.90, 59.74, -55.91)
CIE-LCHlch(39.90, 81.82, 316.89°)
OKLaboklab(50.86% 0.1371 -0.1583)
OKLCHoklch(50.86% 0.209 310.9)
XYZxyz(20.6723, 11.1912, 48.0752)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30BB #60BB30
analogous
#4630BB #8B30BB #BB30A5
triadic
#8B30BB #BB8B30 #30BB8B
tetradic
#8B30BB #BB4630 #60BB30 #30A5BB
square
#8B30BB #BB4630 #60BB30 #30A5BB
split-complementary
#8B30BB #A5BB30 #30BB46
monochromatic
#43175A #67238A #8B30BB #A855D3 #C186E0

Accessibility & contrast

On white

6.49
#8B30BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8B30BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30BB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30BB#FFFFFF#000000##FFFFFF
##8B30BB1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#1460B8
Tritanopia (blue-blind)
#855073
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b30bb;
/* rgb */ color: rgb(139, 48, 187);
/* oklch */ color: oklch(50.9% 0.209 310.9);
Tailwind
colors: {
  custom: {
    50: '#b271d0',
    500: '#8b30bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b30bb;
$custom-light: #b271d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30bb",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 279.281,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.20946,
    "h": 310.9
  },
  "luminance": 0.11191
}

Semantic roles & 50–950 ramp

primary
#8B30BB
secondary
#98C97D
accent
#E2457C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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