#8B307E#8B307E

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

Color values

HEX#8B307E
RGBrgb(139, 48, 126)
HSLhsl(309, 49%, 37%)
HSVhsv(309, 65%, 55%)
CMYKcmyk(0%, 65.5%, 9.4%, 45.5%)
CIE-LABlab(36.20, 48.01, -24.97)
CIE-LCHlch(36.20, 54.12, 332.53°)
OKLaboklab(47.02% 0.1389 -0.0682)
OKLCHoklch(47.02% 0.155 333.9)
XYZxyz(15.4704, 9.1104, 20.6783)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B307E #308B3D
analogous
#6B308B #8B307E #8B3051
triadic
#8B307E #7E8B30 #307E8B
tetradic
#8B307E #8B6B30 #308B3D #30518B
square
#8B307E #8B6B30 #308B3D #30518B
split-complementary
#8B307E #518B30 #308B6B
monochromatic
#30112C #5E2055 #8B307E #B840A7 #CC6ABE

Accessibility & contrast

On white

7.44
#8B307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B307E
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B307E#FFFFFF#000000##FFFFFF
##8B307E1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#913752
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b307e;
/* rgb */ color: rgb(139, 48, 126);
/* oklch */ color: oklch(47.0% 0.155 333.9);
Tailwind
colors: {
  custom: {
    50: '#b06fa3',
    500: '#8b307e',
    950: '#000000',
  },
}
SCSS
$custom: #8b307e;
$custom-light: #b06fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b307e",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 308.571,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47015,
    "c": 0.15468,
    "h": 333.9
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#8B307E
secondary
#64B36F
accent
#D86350
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B307E

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

Preview Lab → · Contrast checker → · Palette generator →

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