#8B1E90#8B1E90

#8B1E90 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.191 H 326.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8B1E90
RGBrgb(139, 30, 144)
HSLhsl(297, 66%, 34%)
HSVhsv(297, 79%, 56%)
CMYKcmyk(3.5%, 79.2%, 0%, 43.5%)
CIE-LABlab(34.87, 57.66, -38.19)
CIE-LCHlch(34.87, 69.16, 326.48°)
OKLaboklab(46.38% 0.1583 -0.1063)
OKLCHoklch(46.38% 0.191 326.1)
XYZxyz(16.1455, 8.4323, 27.1574)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E90 #23901E
analogous
#521E90 #8B1E90 #901E5C
triadic
#8B1E90 #908B1E #1E908B
tetradic
#8B1E90 #90521E #23901E #1E5C90
square
#8B1E90 #90521E #23901E #1E5C90
split-complementary
#8B1E90 #5C901E #1E9052
monochromatic
#29092B #5A135D #8B1E90 #BC29C3 #D44EDA

Accessibility & contrast

On white

7.82
#8B1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8B1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E90
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E90#FFFFFF#000000##FFFFFF
##8B1E901.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#3A578D
Tritanopia (blue-blind)
#8F3357
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b1e90;
/* rgb */ color: rgb(139, 30, 144);
/* oklch */ color: oklch(46.4% 0.191 326.1);
Tailwind
colors: {
  custom: {
    50: '#b168b1',
    500: '#8b1e90',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e90;
$custom-light: #b168b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e90",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 297.368,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4638,
    "c": 0.1907,
    "h": 326.1
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#8B1E90
secondary
#52BD4D
accent
#E83F47
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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