#8B30B7#8B30B7

#8B30B7 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.206 H 312.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8B30B7
RGBrgb(139, 48, 183)
HSLhsl(280, 58%, 45%)
HSVhsv(280, 74%, 72%)
CMYKcmyk(24%, 73.8%, 0%, 28.2%)
CIE-LABlab(39.62, 58.90, -54.02)
CIE-LCHlch(39.62, 79.92, 317.48°)
OKLaboklab(50.57% 0.1378 -0.1527)
OKLCHoklch(50.57% 0.206 312)
XYZxyz(20.2501, 11.0223, 45.8514)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30B7 #5CB730
analogous
#4730B7 #8B30B7 #B730A0
triadic
#8B30B7 #B78B30 #30B78B
tetradic
#8B30B7 #B74730 #5CB730 #30A0B7
square
#8B30B7 #B74730 #5CB730 #30A0B7
split-complementary
#8B30B7 #A0B730 #30B747
monochromatic
#411756 #662387 #8B30B7 #A852D2 #C183DE

Accessibility & contrast

On white

6.55
#8B30B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8B30B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30B7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30B7#FFFFFF#000000##FFFFFF
##8B30B71.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#1D5FB4
Tritanopia (blue-blind)
#864E71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b30b7;
/* rgb */ color: rgb(139, 48, 183);
/* oklch */ color: oklch(50.6% 0.206 312.0);
Tailwind
colors: {
  custom: {
    50: '#b171cd',
    500: '#8b30b7',
    950: '#000000',
  },
}
SCSS
$custom: #8b30b7;
$custom-light: #b171cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30b7",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 280.444,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5057,
    "c": 0.20569,
    "h": 312
  },
  "luminance": 0.11022
}

Semantic roles & 50–950 ramp

primary
#8B30B7
secondary
#94C87B
accent
#E24679
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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