#8B30AC#8B30AC

#8B30AC is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.195 H 315.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8B30AC
RGBrgb(139, 48, 172)
HSLhsl(284, 56%, 43%)
HSVhsv(284, 72%, 67%)
CMYKcmyk(19.2%, 72.1%, 0%, 32.5%)
CIE-LABlab(38.87, 56.62, -48.71)
CIE-LCHlch(38.87, 74.69, 319.30°)
OKLaboklab(49.8% 0.1392 -0.1372)
OKLCHoklch(49.8% 0.195 315.4)
XYZxyz(19.1496, 10.5821, 40.0556)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30AC #51AC30
analogous
#4D30AC #8B30AC #AC308F
triadic
#8B30AC #AC8B30 #30AC8B
tetradic
#8B30AC #AC4D30 #51AC30 #308FAC
square
#8B30AC #AC4D30 #51AC30 #308FAC
split-complementary
#8B30AC #8FAC30 #30AC4D
monochromatic
#3E154C #64237C #8B30AC #AB4CCD #C17CDA

Accessibility & contrast

On white

6.74
#8B30AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8B30AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30AC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30AC#FFFFFF#000000##FFFFFF
##8B30AC1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#2D5EA9
Tritanopia (blue-blind)
#884A6B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b30ac;
/* rgb */ color: rgb(139, 48, 172);
/* oklch */ color: oklch(49.8% 0.195 315.4);
Tailwind
colors: {
  custom: {
    50: '#b171c5',
    500: '#8b30ac',
    950: '#000000',
  },
}
SCSS
$custom: #8b30ac;
$custom-light: #b171c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30ac",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 284.032,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.19541,
    "h": 315.4
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#8B30AC
secondary
#8AC375
accent
#E04870
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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