#8B309F#8B309F

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

Color values

HEX#8B309F
RGBrgb(139, 48, 159)
HSLhsl(289, 54%, 41%)
HSVhsv(289, 70%, 62%)
CMYKcmyk(12.6%, 69.8%, 0%, 37.6%)
CIE-LABlab(38.03, 54.02, -42.26)
CIE-LCHlch(38.03, 68.59, 321.97°)
OKLaboklab(48.94% 0.1402 -0.1183)
OKLCHoklch(48.94% 0.183 319.8)
XYZxyz(17.9616, 10.1069, 33.7989)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B309F #449F30
analogous
#53309F #8B309F #9F307B
triadic
#8B309F #9F8B30 #309F8B
tetradic
#8B309F #9F5330 #449F30 #307B9F
square
#8B309F #9F5330 #449F30 #307B9F
split-complementary
#8B309F #7B9F30 #309F53
monochromatic
#391441 #622270 #8B309F #B045C7 #C474D5

Accessibility & contrast

On white

6.95
#8B309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8B309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B309F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B309F#FFFFFF#000000##FFFFFF
##8B309F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#395D9C
Tritanopia (blue-blind)
#8B4464
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b309f;
/* rgb */ color: rgb(139, 48, 159);
/* oklch */ color: oklch(48.9% 0.183 319.8);
Tailwind
colors: {
  custom: {
    50: '#b070bc',
    500: '#8b309f',
    950: '#000000',
  },
}
SCSS
$custom: #8b309f;
$custom-light: #b070bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b309f",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 289.189,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48936,
    "c": 0.18341,
    "h": 319.8
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#8B309F
secondary
#7CBD6E
accent
#DD4B65
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B309F

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

Preview Lab → · Contrast checker → · Palette generator →

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