#8B309D#8B309D

#8B309D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.182 H 320.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8B309D
RGBrgb(139, 48, 157)
HSLhsl(290, 53%, 40%)
HSVhsv(290, 69%, 62%)
CMYKcmyk(11.5%, 69.4%, 0%, 38.4%)
CIE-LABlab(37.91, 53.63, -41.25)
CIE-LCHlch(37.91, 67.66, 322.44°)
OKLaboklab(48.81% 0.1403 -0.1153)
OKLCHoklch(48.81% 0.182 320.6)
XYZxyz(17.7895, 10.0381, 32.8923)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B309D #429D30
analogous
#55309D #8B309D #9D3078
triadic
#8B309D #9D8B30 #309D8B
tetradic
#8B309D #9D5530 #429D30 #30789D
square
#8B309D #9D5530 #429D30 #30789D
split-complementary
#8B309D #789D30 #309D55
monochromatic
#38133F #62226E #8B309D #B144C6 #C473D4

Accessibility & contrast

On white

6.98
#8B309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B309D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B309D#FFFFFF#000000##FFFFFF
##8B309D1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0453A0
Deuteranopia (green-blind)
#3B5C9A
Tritanopia (blue-blind)
#8C4463
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b309d;
/* rgb */ color: rgb(139, 48, 157);
/* oklch */ color: oklch(48.8% 0.182 320.6);
Tailwind
colors: {
  custom: {
    50: '#b070ba',
    500: '#8b309d',
    950: '#000000',
  },
}
SCSS
$custom: #8b309d;
$custom-light: #b070ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8b309d",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 290.092,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.18158,
    "h": 320.6
  },
  "luminance": 0.10037
}

Semantic roles & 50–950 ramp

primary
#8B309D
secondary
#7ABC6D
accent
#DD4B63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B309D

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

Preview Lab → · Contrast checker → · Palette generator →

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