#8B1F9E#8B1F9E

#8B1F9E is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.4% C 0.201 H 321.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8B1F9E
RGBrgb(139, 31, 158)
HSLhsl(291, 67%, 37%)
HSVhsv(291, 80%, 62%)
CMYKcmyk(12%, 80.4%, 0%, 38%)
CIE-LABlab(35.87, 59.85, -45.13)
CIE-LCHlch(35.87, 74.96, 322.98°)
OKLaboklab(47.37% 0.1562 -0.1266)
OKLCHoklch(47.37% 0.201 321)
XYZxyz(17.3083, 8.9385, 33.1548)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F9E #329E1F
analogous
#4C1F9E #8B1F9E #9E1F71
triadic
#8B1F9E #9E8B1F #1F9E8B
tetradic
#8B1F9E #9E4C1F #329E1F #1F719E
square
#8B1F9E #9E4C1F #329E1F #1F719E
split-complementary
#8B1F9E #719E1F #1F9E4C
monochromatic
#310B38 #5E156B #8B1F9E #B829D1 #CA59DE

Accessibility & contrast

On white

7.53
#8B1F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8B1F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F9E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F9E#FFFFFF#000000##FFFFFF
##8B1F9E1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#2F589B
Tritanopia (blue-blind)
#8C3A5F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b1f9e;
/* rgb */ color: rgb(139, 31, 158);
/* oklch */ color: oklch(47.4% 0.201 321.0);
Tailwind
colors: {
  custom: {
    50: '#b169bb',
    500: '#8b1f9e',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f9e;
$custom-light: #b169bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f9e",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 291.024,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47374,
    "c": 0.20107,
    "h": 321
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#8B1F9E
secondary
#67C256
accent
#EA3E57
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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