#8B309E#8B309E

#8B309E is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.182 H 320.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8B309E
RGBrgb(139, 48, 158)
HSLhsl(290, 53%, 40%)
HSVhsv(290, 70%, 62%)
CMYKcmyk(12%, 69.6%, 0%, 38%)
CIE-LABlab(37.97, 53.83, -41.75)
CIE-LCHlch(37.97, 68.12, 322.20°)
OKLaboklab(48.87% 0.1402 -0.1168)
OKLCHoklch(48.87% 0.182 320.2)
XYZxyz(17.8752, 10.0724, 33.3437)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B309E #439E30
analogous
#54309E #8B309E #9E307A
triadic
#8B309E #9E8B30 #309E8B
tetradic
#8B309E #9E5430 #439E30 #307A9E
square
#8B309E #9E5430 #439E30 #307A9E
split-complementary
#8B309E #7A9E30 #309E54
monochromatic
#381340 #62226F #8B309E #B045C6 #C474D5

Accessibility & contrast

On white

6.97
#8B309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8B309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B309E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B309E#FFFFFF#000000##FFFFFF
##8B309E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0153A1
Deuteranopia (green-blind)
#3A5D9B
Tritanopia (blue-blind)
#8C4463
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b309e;
/* rgb */ color: rgb(139, 48, 158);
/* oklch */ color: oklch(48.9% 0.182 320.2);
Tailwind
colors: {
  custom: {
    50: '#b070bb',
    500: '#8b309e',
    950: '#000000',
  },
}
SCSS
$custom: #8b309e;
$custom-light: #b070bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b309e",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 289.636,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48872,
    "c": 0.18249,
    "h": 320.2
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#8B309E
secondary
#7BBD6D
accent
#DD4B64
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B309E

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

Preview Lab → · Contrast checker → · Palette generator →

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