#8B3E95#8B3E95

#8B3E95 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.0% C 0.154 H 322.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8B3E95
RGBrgb(139, 62, 149)
HSLhsl(293, 41%, 41%)
HSVhsv(293, 58%, 58%)
CMYKcmyk(6.7%, 58.4%, 0%, 41.6%)
CIE-LABlab(39.76, 45.70, -33.48)
CIE-LCHlch(39.76, 56.65, 323.78°)
OKLaboklab(50% 0.1228 -0.0928)
OKLCHoklch(50% 0.154 322.9)
XYZxyz(17.7944, 11.1050, 29.6341)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3E95 #48953E
analogous
#603E95 #8B3E95 #953E74
triadic
#8B3E95 #958B3E #3E958B
tetradic
#8B3E95 #95603E #48953E #3E7495
square
#8B3E95 #95603E #48953E #3E7495
split-complementary
#8B3E95 #74953E #3E9560
monochromatic
#3A1A3F #632C6A #8B3E95 #AE57B9 #C382CB

Accessibility & contrast

On white

6.52
#8B3E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8B3E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3E95
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3E95#FFFFFF#000000##FFFFFF
##8B3E951.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#8D4A63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b3e95;
/* rgb */ color: rgb(139, 62, 149);
/* oklch */ color: oklch(50.0% 0.154 322.9);
Tailwind
colors: {
  custom: {
    50: '#af78b4',
    500: '#8b3e95',
    950: '#000000',
  },
}
SCSS
$custom: #8b3e95;
$custom-light: #af78b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3e95",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 293.103,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49998,
    "c": 0.15395,
    "h": 322.9
  },
  "luminance": 0.11104
}

Semantic roles & 50–950 ramp

primary
#8B3E95
secondary
#80B57A
accent
#D15765
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8B3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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