#8B309B#8B309B

#8B309B is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.180 H 321.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8B309B
RGBrgb(139, 48, 155)
HSLhsl(291, 53%, 40%)
HSVhsv(291, 69%, 61%)
CMYKcmyk(10.3%, 69%, 0%, 39.2%)
CIE-LABlab(37.79, 53.25, -40.23)
CIE-LCHlch(37.79, 66.74, 322.93°)
OKLaboklab(48.68% 0.1403 -0.1124)
OKLCHoklch(48.68% 0.18 321.3)
XYZxyz(17.6201, 9.9704, 32.0003)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B309B #409B30
analogous
#56309B #8B309B #9B3076
triadic
#8B309B #9B8B30 #309B8B
tetradic
#8B309B #9B5630 #409B30 #30769B
square
#8B309B #9B5630 #409B30 #30769B
split-complementary
#8B309B #769B30 #309B56
monochromatic
#37133E #61226C #8B309B #B243C5 #C572D3

Accessibility & contrast

On white

7.01
#8B309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8B309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B309B
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B309B#FFFFFF#000000##FFFFFF
##8B309B1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B529E
Deuteranopia (green-blind)
#3C5C98
Tritanopia (blue-blind)
#8C4362
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b309b;
/* rgb */ color: rgb(139, 48, 155);
/* oklch */ color: oklch(48.7% 0.180 321.3);
Tailwind
colors: {
  custom: {
    50: '#b070b9',
    500: '#8b309b',
    950: '#000000',
  },
}
SCSS
$custom: #8b309b;
$custom-light: #b070b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b309b",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 291.028,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48682,
    "c": 0.17975,
    "h": 321.3
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#8B309B
secondary
#78BB6C
accent
#DC4C61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B309B

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

Preview Lab → · Contrast checker → · Palette generator →

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