#8B319E#8B319E

#8B319E is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.181 H 320.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8B319E
RGBrgb(139, 49, 158)
HSLhsl(290, 53%, 41%)
HSVhsv(290, 69%, 62%)
CMYKcmyk(12%, 69%, 0%, 38%)
CIE-LABlab(38.12, 53.41, -41.52)
CIE-LCHlch(38.12, 67.65, 322.14°)
OKLaboklab(48.98% 0.1391 -0.1161)
OKLCHoklch(48.98% 0.181 320.1)
XYZxyz(17.9166, 10.1551, 33.3575)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B319E #449E31
analogous
#54319E #8B319E #9E317A
triadic
#8B319E #9E8B31 #319E8B
tetradic
#8B319E #9E5431 #449E31 #317A9E
square
#8B319E #9E5431 #449E31 #317A9E
split-complementary
#8B319E #7A9E31 #319E54
monochromatic
#391441 #62236F #8B319E #B046C6 #C475D4

Accessibility & contrast

On white

6.93
#8B319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8B319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B319E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B319E#FFFFFF#000000##FFFFFF
##8B319E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0554A1
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#8C4564
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b319e;
/* rgb */ color: rgb(139, 49, 158);
/* oklch */ color: oklch(49.0% 0.181 320.1);
Tailwind
colors: {
  custom: {
    50: '#b071bb',
    500: '#8b319e',
    950: '#000000',
  },
}
SCSS
$custom: #8b319e;
$custom-light: #b071bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b319e",
  "rgb": {
    "r": 139,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 289.541,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.18121,
    "h": 320.1
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#8B319E
secondary
#7CBC6E
accent
#DC4C65
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B319E

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

Preview Lab → · Contrast checker → · Palette generator →

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