#8B18A0#8B18A0

#8B18A0 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.208 H 320.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8B18A0
RGBrgb(139, 24, 160)
HSLhsl(291, 74%, 36%)
HSVhsv(291, 85%, 63%)
CMYKcmyk(13.1%, 85%, 0%, 37.3%)
CIE-LABlab(35.36, 62.07, -47.15)
CIE-LCHlch(35.36, 77.94, 322.78°)
OKLaboklab(47.06% 0.1609 -0.1324)
OKLCHoklch(47.06% 0.208 320.5)
XYZxyz(17.3185, 8.6813, 34.0143)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B18A0 #2DA018
analogous
#4718A0 #8B18A0 #A01871
triadic
#8B18A0 #A08B18 #18A08B
tetradic
#8B18A0 #A04718 #2DA018 #1871A0
square
#8B18A0 #A04718 #2DA018 #1871A0
split-complementary
#8B18A0 #71A018 #18A047
monochromatic
#2F0836 #5D106B #8B18A0 #B920D5 #CD4EE4

Accessibility & contrast

On white

7.68
#8B18A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8B18A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B18A0
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B18A0#FFFFFF#000000##FFFFFF
##8B18A01.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#29579D
Tritanopia (blue-blind)
#8C385F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b18a0;
/* rgb */ color: rgb(139, 24, 160);
/* oklch */ color: oklch(47.1% 0.208 320.5);
Tailwind
colors: {
  custom: {
    50: '#b167bd',
    500: '#8b18a0',
    950: '#000000',
  },
}
SCSS
$custom: #8b18a0;
$custom-light: #b167bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b18a0",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 290.735,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47063,
    "c": 0.20838,
    "h": 320.5
  },
  "luminance": 0.0868
}

Semantic roles & 50–950 ramp

primary
#8B18A0
secondary
#60C64D
accent
#F13754
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B18A0

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

Preview Lab → · Contrast checker → · Palette generator →

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