#8B2CB6#8B2CB6

#8B2CB6 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.209 H 312.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8B2CB6
RGBrgb(139, 44, 182)
HSLhsl(281, 61%, 44%)
HSVhsv(281, 76%, 71%)
CMYKcmyk(23.6%, 75.8%, 0%, 28.6%)
CIE-LABlab(39.02, 60.21, -54.40)
CIE-LCHlch(39.02, 81.14, 317.90°)
OKLaboklab(50.12% 0.1416 -0.1538)
OKLCHoklch(50.12% 0.209 312.6)
XYZxyz(19.9901, 10.6683, 45.2531)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CB6 #57B62C
analogous
#462CB6 #8B2CB6 #B62C9C
triadic
#8B2CB6 #B68B2C #2CB68B
tetradic
#8B2CB6 #B6462C #57B62C #2C9CB6
square
#8B2CB6 #B6462C #57B62C #2C9CB6
split-complementary
#8B2CB6 #9CB62C #2CB646
monochromatic
#401453 #652085 #8B2CB6 #A94CD4 #C17DE0

Accessibility & contrast

On white

6.70
#8B2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8B2CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CB6
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CB6#FFFFFF#000000##FFFFFF
##8B2CB61.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#195EB3
Tritanopia (blue-blind)
#864C70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2cb6;
/* rgb */ color: rgb(139, 44, 182);
/* oklch */ color: oklch(50.1% 0.209 312.6);
Tailwind
colors: {
  custom: {
    50: '#b16fcd',
    500: '#8b2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cb6;
$custom-light: #b16fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cb6",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 281.304,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50122,
    "c": 0.20911,
    "h": 312.6
  },
  "luminance": 0.10668
}

Semantic roles & 50–950 ramp

primary
#8B2CB6
secondary
#8FC876
accent
#E44476
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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