#8B309A#8B309A

#8B309A is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.179 H 321.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8B309A
RGBrgb(139, 48, 154)
HSLhsl(292, 52%, 40%)
HSVhsv(292, 69%, 60%)
CMYKcmyk(9.7%, 68.8%, 0%, 39.6%)
CIE-LABlab(37.73, 53.06, -39.72)
CIE-LCHlch(37.73, 66.28, 323.18°)
OKLaboklab(48.62% 0.1403 -0.1109)
OKLCHoklch(48.62% 0.179 321.7)
XYZxyz(17.5365, 9.9369, 31.5599)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B309A #3F9A30
analogous
#56309A #8B309A #9A3074
triadic
#8B309A #9A8B30 #309A8B
tetradic
#8B309A #9A5630 #3F9A30 #30749A
square
#8B309A #9A5630 #3F9A30 #30749A
split-complementary
#8B309A #749A30 #309A56
monochromatic
#37133D #61216B #8B309A #B243C4 #C572D3

Accessibility & contrast

On white

7.03
#8B309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B309A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B309A#FFFFFF#000000##FFFFFF
##8B309A1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E529D
Deuteranopia (green-blind)
#3D5C97
Tritanopia (blue-blind)
#8C4261
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b309a;
/* rgb */ color: rgb(139, 48, 154);
/* oklch */ color: oklch(48.6% 0.179 321.7);
Tailwind
colors: {
  custom: {
    50: '#b070b8',
    500: '#8b309a',
    950: '#000000',
  },
}
SCSS
$custom: #8b309a;
$custom-light: #b070b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b309a",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 291.509,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4862,
    "c": 0.17886,
    "h": 321.7
  },
  "luminance": 0.09936
}

Semantic roles & 50–950 ramp

primary
#8B309A
secondary
#76BB6B
accent
#DC4C60
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B309A

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

Preview Lab → · Contrast checker → · Palette generator →

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