#8B1895#8B1895

#8B1895 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.200 H 324.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8B1895
RGBrgb(139, 24, 149)
HSLhsl(295, 72%, 34%)
HSVhsv(295, 84%, 58%)
CMYKcmyk(6.7%, 83.9%, 0%, 41.6%)
CIE-LABlab(34.63, 60.13, -41.64)
CIE-LCHlch(34.63, 73.14, 325.30°)
OKLaboklab(46.31% 0.1624 -0.1163)
OKLCHoklch(46.31% 0.2 324.4)
XYZxyz(16.3985, 8.3132, 29.1688)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1895 #229518
analogous
#4D1895 #8B1895 #951861
triadic
#8B1895 #958B18 #18958B
tetradic
#8B1895 #954D18 #229518 #186195
square
#8B1895 #954D18 #229518 #186195
split-complementary
#8B1895 #619518 #18954D
monochromatic
#29072C #5A1060 #8B1895 #BC20CA #D546E1

Accessibility & contrast

On white

7.89
#8B1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8B1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1895
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1895#FFFFFF#000000##FFFFFF
##8B18951.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#345692
Tritanopia (blue-blind)
#8E3359
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1895;
/* rgb */ color: rgb(139, 24, 149);
/* oklch */ color: oklch(46.3% 0.200 324.4);
Tailwind
colors: {
  custom: {
    50: '#b166b5',
    500: '#8b1895',
    950: '#000000',
  },
}
SCSS
$custom: #8b1895;
$custom-light: #b166b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1895",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 295.2,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46311,
    "c": 0.19975,
    "h": 324.4
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#8B1895
secondary
#50C246
accent
#EF3947
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1895

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

Preview Lab → · Contrast checker → · Palette generator →

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