#8B1E95#8B1E95

#8B1E95 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.195 H 324.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8B1E95
RGBrgb(139, 30, 149)
HSLhsl(295, 66%, 35%)
HSVhsv(295, 80%, 58%)
CMYKcmyk(6.7%, 79.9%, 0%, 41.6%)
CIE-LABlab(35.18, 58.52, -40.76)
CIE-LCHlch(35.18, 71.32, 325.15°)
OKLaboklab(46.7% 0.158 -0.1138)
OKLCHoklch(46.7% 0.195 324.2)
XYZxyz(16.5361, 8.5885, 29.2147)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E95 #28951E
analogous
#501E95 #8B1E95 #951E63
triadic
#8B1E95 #958B1E #1E958B
tetradic
#8B1E95 #95501E #28951E #1E6395
square
#8B1E95 #95501E #28951E #1E6395
split-complementary
#8B1E95 #63951E #1E9550
monochromatic
#2C092F #5B1462 #8B1E95 #BB28C8 #D051DC

Accessibility & contrast

On white

7.73
#8B1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8B1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E95
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E95#FFFFFF#000000##FFFFFF
##8B1E951.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#365792
Tritanopia (blue-blind)
#8E355A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b1e95;
/* rgb */ color: rgb(139, 30, 149);
/* oklch */ color: oklch(46.7% 0.195 324.2);
Tailwind
colors: {
  custom: {
    50: '#b168b5',
    500: '#8b1e95',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e95;
$custom-light: #b168b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e95",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 294.958,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46702,
    "c": 0.19468,
    "h": 324.2
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#8B1E95
secondary
#59BF50
accent
#E93E4D
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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