#8B1F95#8B1F95

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

Color values

HEX#8B1F95
RGBrgb(139, 31, 149)
HSLhsl(295, 66%, 35%)
HSVhsv(295, 79%, 58%)
CMYKcmyk(6.7%, 79.2%, 0%, 41.6%)
CIE-LABlab(35.28, 58.23, -40.59)
CIE-LCHlch(35.28, 70.98, 325.12°)
OKLaboklab(46.77% 0.1572 -0.1133)
OKLCHoklch(46.77% 0.194 324.2)
XYZxyz(16.5618, 8.6399, 29.2233)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F95 #29951F
analogous
#501F95 #8B1F95 #951F64
triadic
#8B1F95 #958B1F #1F958B
tetradic
#8B1F95 #95501F #29951F #1F6495
square
#8B1F95 #95501F #29951F #1F6495
split-complementary
#8B1F95 #64951F #1F9550
monochromatic
#2C0A30 #5C1462 #8B1F95 #BA2AC8 #D053DB

Accessibility & contrast

On white

7.70
#8B1F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8B1F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F95
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F95#FFFFFF#000000##FFFFFF
##8B1F951.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1f95;
/* rgb */ color: rgb(139, 31, 149);
/* oklch */ color: oklch(46.8% 0.194 324.2);
Tailwind
colors: {
  custom: {
    50: '#b169b5',
    500: '#8b1f95',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f95;
$custom-light: #b169b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f95",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 294.915,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46774,
    "c": 0.19375,
    "h": 324.2
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#8B1F95
secondary
#5BBF51
accent
#E93F4E
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1F95

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

Preview Lab → · Contrast checker → · Palette generator →

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