#8B307D#8B307D

#8B307D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.0% C 0.154 H 334.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8B307D
RGBrgb(139, 48, 125)
HSLhsl(309, 49%, 37%)
HSVhsv(309, 65%, 55%)
CMYKcmyk(0%, 65.5%, 10.1%, 45.5%)
CIE-LABlab(36.15, 47.85, -24.42)
CIE-LCHlch(36.15, 53.72, 332.96°)
OKLaboklab(46.96% 0.1387 -0.0666)
OKLCHoklch(46.96% 0.154 334.3)
XYZxyz(15.4062, 9.0848, 20.3402)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B307D #308B3E
analogous
#6C308B #8B307D #8B3050
triadic
#8B307D #7D8B30 #307D8B
tetradic
#8B307D #8B6C30 #308B3E #30508B
square
#8B307D #8B6C30 #308B3E #30508B
split-complementary
#8B307D #508B30 #308B6C
monochromatic
#30112B #5E2054 #8B307D #B840A6 #CC6ABC

Accessibility & contrast

On white

7.46
#8B307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8B307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B307D
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B307D#FFFFFF#000000##FFFFFF
##8B307D1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#4D5A7B
Tritanopia (blue-blind)
#913652
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b307d;
/* rgb */ color: rgb(139, 48, 125);
/* oklch */ color: oklch(47.0% 0.154 334.3);
Tailwind
colors: {
  custom: {
    50: '#b06fa3',
    500: '#8b307d',
    950: '#000000',
  },
}
SCSS
$custom: #8b307d;
$custom-light: #b06fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b307d",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 309.231,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46963,
    "c": 0.15387,
    "h": 334.3
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#8B307D
secondary
#64B370
accent
#D86550
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B307D

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

Preview Lab → · Contrast checker → · Palette generator →

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