#8B1E85#8B1E85

#8B1E85 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.182 H 330.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8B1E85
RGBrgb(139, 30, 133)
HSLhsl(303, 64%, 33%)
HSVhsv(303, 78%, 55%)
CMYKcmyk(0%, 78.4%, 4.3%, 45.5%)
CIE-LABlab(34.22, 55.81, -32.44)
CIE-LCHlch(34.22, 64.55, 329.84°)
OKLaboklab(45.71% 0.1586 -0.0895)
OKLCHoklch(45.71% 0.182 330.6)
XYZxyz(15.3453, 8.1122, 22.9434)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E85 #1E8B24
analogous
#5A1E8B #8B1E85 #8B1E4E
triadic
#8B1E85 #858B1E #1E858B
tetradic
#8B1E85 #8B5A1E #1E8B24 #1E4E8B
square
#8B1E85 #8B5A1E #1E8B24 #1E4E8B
split-complementary
#8B1E85 #4E8B1E #1E8B5A
monochromatic
#260825 #591355 #8B1E85 #BD29B5 #D84BD0

Accessibility & contrast

On white

8.01
#8B1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8B1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E85
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E85#FFFFFF#000000##FFFFFF
##8B1E851.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4788
Deuteranopia (green-blind)
#415682
Tritanopia (blue-blind)
#912D51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1e85;
/* rgb */ color: rgb(139, 30, 133);
/* oklch */ color: oklch(45.7% 0.182 330.6);
Tailwind
colors: {
  custom: {
    50: '#b067a9',
    500: '#8b1e85',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e85;
$custom-light: #b067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e85",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 303.303,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45706,
    "c": 0.18216,
    "h": 330.6
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#8B1E85
secondary
#4ABB50
accent
#E74A40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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