#8B309C#8B309C

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

Color values

HEX#8B309C
RGBrgb(139, 48, 156)
HSLhsl(291, 53%, 40%)
HSVhsv(291, 69%, 61%)
CMYKcmyk(10.9%, 69.2%, 0%, 38.8%)
CIE-LABlab(37.85, 53.44, -40.74)
CIE-LCHlch(37.85, 67.20, 322.68°)
OKLaboklab(48.75% 0.1403 -0.1138)
OKLCHoklch(48.75% 0.181 320.9)
XYZxyz(17.7045, 10.0041, 32.4445)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B309C #419C30
analogous
#55309C #8B309C #9C3077
triadic
#8B309C #9C8B30 #309C8B
tetradic
#8B309C #9C5530 #419C30 #30779C
square
#8B309C #9C5530 #419C30 #30779C
split-complementary
#8B309C #779C30 #309C55
monochromatic
#38133E #61226D #8B309C #B144C5 #C573D4

Accessibility & contrast

On white

7.00
#8B309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8B309C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B309C
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B309C#FFFFFF#000000##FFFFFF
##8B309C1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08539F
Deuteranopia (green-blind)
#3C5C99
Tritanopia (blue-blind)
#8C4362
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b309c;
/* rgb */ color: rgb(139, 48, 156);
/* oklch */ color: oklch(48.7% 0.181 320.9);
Tailwind
colors: {
  custom: {
    50: '#b070ba',
    500: '#8b309c',
    950: '#000000',
  },
}
SCSS
$custom: #8b309c;
$custom-light: #b070ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8b309c",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 290.556,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.48745,
    "c": 0.18067,
    "h": 320.9
  },
  "luminance": 0.10003
}

Semantic roles & 50–950 ramp

primary
#8B309C
secondary
#79BC6C
accent
#DC4B62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B309C

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

Preview Lab → · Contrast checker → · Palette generator →

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