#8B2ABB#8B2ABB

#8B2ABB is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.216 H 311.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8B2ABB
RGBrgb(139, 42, 187)
HSLhsl(280, 63%, 45%)
HSVhsv(280, 78%, 73%)
CMYKcmyk(25.7%, 77.5%, 0%, 26.7%)
CIE-LABlab(39.13, 61.96, -57.17)
CIE-LCHlch(39.13, 84.30, 317.30°)
OKLaboklab(50.31% 0.1425 -0.162)
OKLCHoklch(50.31% 0.216 311.3)
XYZxyz(20.4434, 10.7333, 47.9989)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2ABB #5ABB2A
analogous
#432ABB #8B2ABB #BB2AA3
triadic
#8B2ABB #BB8B2A #2ABB8B
tetradic
#8B2ABB #BB432A #5ABB2A #2AA3BB
square
#8B2ABB #BB432A #5ABB2A #2AA3BB
split-complementary
#8B2ABB #A3BB2A #2ABB43
monochromatic
#411457 #661F89 #8B2ABB #A94CD7 #C17DE2

Accessibility & contrast

On white

6.67
#8B2ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8B2ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2ABB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2ABB#FFFFFF#000000##FFFFFF
##8B2ABB1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#055EB8
Tritanopia (blue-blind)
#854D72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2abb;
/* rgb */ color: rgb(139, 42, 187);
/* oklch */ color: oklch(50.3% 0.216 311.3);
Tailwind
colors: {
  custom: {
    50: '#b26fd0',
    500: '#8b2abb',
    950: '#000000',
  },
}
SCSS
$custom: #8b2abb;
$custom-light: #b26fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2abb",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 280.138,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50314,
    "c": 0.2157,
    "h": 311.3
  },
  "luminance": 0.10733
}

Semantic roles & 50–950 ramp

primary
#8B2ABB
secondary
#92CA76
accent
#E64178
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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