#8B1E9B#8B1E9B

#8B1E9B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.200 H 322.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8B1E9B
RGBrgb(139, 30, 155)
HSLhsl(292, 68%, 36%)
HSVhsv(292, 81%, 61%)
CMYKcmyk(10.3%, 80.6%, 0%, 39.2%)
CIE-LABlab(35.57, 59.59, -43.79)
CIE-LCHlch(35.57, 73.95, 323.69°)
OKLaboklab(47.1% 0.1574 -0.1226)
OKLCHoklch(47.1% 0.2 322.1)
XYZxyz(17.0275, 8.7851, 31.8028)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E9B #2E9B1E
analogous
#4D1E9B #8B1E9B #9B1E6D
triadic
#8B1E9B #9B8B1E #1E9B8B
tetradic
#8B1E9B #9B4D1E #2E9B1E #1E6D9B
square
#8B1E9B #9B4D1E #2E9B1E #1E6D9B
split-complementary
#8B1E9B #6D9B1E #1E9B4D
monochromatic
#2F0A34 #5D1468 #8B1E9B #B928CE #CD55DE

Accessibility & contrast

On white

7.62
#8B1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8B1E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E9B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E9B#FFFFFF#000000##FFFFFF
##8B1E9B1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#315898
Tritanopia (blue-blind)
#8D385D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b1e9b;
/* rgb */ color: rgb(139, 30, 155);
/* oklch */ color: oklch(47.1% 0.200 322.1);
Tailwind
colors: {
  custom: {
    50: '#b168b9',
    500: '#8b1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e9b;
$custom-light: #b168b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e9b",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 292.32,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.471,
    "c": 0.19952,
    "h": 322.1
  },
  "luminance": 0.08784
}

Semantic roles & 50–950 ramp

primary
#8B1E9B
secondary
#61C253
accent
#EA3D54
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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