#8B30B5#8B30B5

#8B30B5 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.204 H 312.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8B30B5
RGBrgb(139, 48, 181)
HSLhsl(281, 58%, 45%)
HSVhsv(281, 73%, 71%)
CMYKcmyk(23.2%, 73.5%, 0%, 29%)
CIE-LABlab(39.48, 58.48, -53.06)
CIE-LCHlch(39.48, 78.96, 317.78°)
OKLaboklab(50.43% 0.1381 -0.1499)
OKLCHoklch(50.43% 0.204 312.6)
XYZxyz(20.0434, 10.9397, 44.7628)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30B5 #5AB530
analogous
#4930B5 #8B30B5 #B5309C
triadic
#8B30B5 #B58B30 #30B58B
tetradic
#8B30B5 #B54930 #5AB530 #309CB5
square
#8B30B5 #B54930 #5AB530 #309CB5
split-complementary
#8B30B5 #9CB530 #30B549
monochromatic
#411654 #662385 #8B30B5 #A951D1 #C182DE

Accessibility & contrast

On white

6.59
#8B30B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8B30B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30B5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30B5#FFFFFF#000000##FFFFFF
##8B30B51.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#215FB2
Tritanopia (blue-blind)
#864E70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b30b5;
/* rgb */ color: rgb(139, 48, 181);
/* oklch */ color: oklch(50.4% 0.204 312.6);
Tailwind
colors: {
  custom: {
    50: '#b171cc',
    500: '#8b30b5',
    950: '#000000',
  },
}
SCSS
$custom: #8b30b5;
$custom-light: #b171cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30b5",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 281.053,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50427,
    "c": 0.20382,
    "h": 312.6
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#8B30B5
secondary
#92C77A
accent
#E14677
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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