#8B1E8E#8B1E8E

#8B1E8E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.189 H 326.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8B1E8E
RGBrgb(139, 30, 142)
HSLhsl(298, 65%, 34%)
HSVhsv(298, 79%, 56%)
CMYKcmyk(2.1%, 78.9%, 0%, 44.3%)
CIE-LABlab(34.75, 57.31, -37.16)
CIE-LCHlch(34.75, 68.30, 327.04°)
OKLaboklab(46.25% 0.1585 -0.1033)
OKLCHoklch(46.25% 0.189 326.9)
XYZxyz(15.9940, 8.3717, 26.3594)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E8E #218E1E
analogous
#531E8E #8B1E8E #8E1E59
triadic
#8B1E8E #8E8B1E #1E8E8B
tetradic
#8B1E8E #8E531E #218E1E #1E598E
square
#8B1E8E #8E531E #218E1E #1E598E
split-complementary
#8B1E8E #598E1E #1E8E53
monochromatic
#280929 #5A135B #8B1E8E #BC29C1 #D64DD9

Accessibility & contrast

On white

7.85
#8B1E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8B1E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E8E
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E8E#FFFFFF#000000##FFFFFF
##8B1E8E1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#8F3256
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b1e8e;
/* rgb */ color: rgb(139, 30, 142);
/* oklch */ color: oklch(46.3% 0.189 326.9);
Tailwind
colors: {
  custom: {
    50: '#b168af',
    500: '#8b1e8e',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e8e;
$custom-light: #b168af;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e8e",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 298.393,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46254,
    "c": 0.18913,
    "h": 326.9
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#8B1E8E
secondary
#4FBC4C
accent
#E84044
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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