#8B1C94#8B1C94

#8B1C94 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.196 H 324.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8B1C94
RGBrgb(139, 28, 148)
HSLhsl(296, 68%, 35%)
HSVhsv(296, 81%, 58%)
CMYKcmyk(6.1%, 81.1%, 0%, 42%)
CIE-LABlab(34.92, 58.92, -40.56)
CIE-LCHlch(34.92, 71.53, 325.46°)
OKLaboklab(46.5% 0.1596 -0.1132)
OKLCHoklch(46.5% 0.196 324.7)
XYZxyz(16.4076, 8.4587, 28.7797)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C94 #25941C
analogous
#4F1C94 #8B1C94 #941C61
triadic
#8B1C94 #948B1C #1C948B
tetradic
#8B1C94 #944F1C #25941C #1C6194
square
#8B1C94 #944F1C #25941C #1C6194
split-complementary
#8B1C94 #61941C #1C944F
monochromatic
#2A092D #5B1261 #8B1C94 #BB26C7 #D34DDD

Accessibility & contrast

On white

7.80
#8B1C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1C94
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C94#FFFFFF#000000##FFFFFF
##8B1C941.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#365691
Tritanopia (blue-blind)
#8E3459
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b1c94;
/* rgb */ color: rgb(139, 28, 148);
/* oklch */ color: oklch(46.5% 0.196 324.7);
Tailwind
colors: {
  custom: {
    50: '#b167b4',
    500: '#8b1c94',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c94;
$custom-light: #b167b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c94",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 295.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46498,
    "c": 0.19568,
    "h": 324.7
  },
  "luminance": 0.08458
}

Semantic roles & 50–950 ramp

primary
#8B1C94
secondary
#55C04C
accent
#EB3D4A
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1C94

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

Preview Lab → · Contrast checker → · Palette generator →

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