#8B1F94#8B1F94

#8B1F94 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.193 H 324.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8B1F94
RGBrgb(139, 31, 148)
HSLhsl(295, 65%, 35%)
HSVhsv(295, 79%, 58%)
CMYKcmyk(6.1%, 79.1%, 0%, 42%)
CIE-LABlab(35.22, 58.05, -40.08)
CIE-LCHlch(35.22, 70.55, 325.38°)
OKLaboklab(46.71% 0.1573 -0.1118)
OKLCHoklch(46.71% 0.193 324.6)
XYZxyz(16.4823, 8.6081, 28.8046)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F94 #28941F
analogous
#511F94 #8B1F94 #941F62
triadic
#8B1F94 #948B1F #1F948B
tetradic
#8B1F94 #94511F #28941F #1F6294
square
#8B1F94 #94511F #28941F #1F6294
split-complementary
#8B1F94 #62941F #1F9451
monochromatic
#2C0A2F #5B1461 #8B1F94 #BB2AC7 #D053DB

Accessibility & contrast

On white

7.72
#8B1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8B1F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F94
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F94#FFFFFF#000000##FFFFFF
##8B1F941.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#385791
Tritanopia (blue-blind)
#8E3559
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b1f94;
/* rgb */ color: rgb(139, 31, 148);
/* oklch */ color: oklch(46.7% 0.193 324.6);
Tailwind
colors: {
  custom: {
    50: '#b168b4',
    500: '#8b1f94',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f94;
$custom-light: #b168b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f94",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 295.385,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46709,
    "c": 0.19295,
    "h": 324.6
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#8B1F94
secondary
#59BE51
accent
#E83F4C
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1F94

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

Preview Lab → · Contrast checker → · Palette generator →

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