#8B2CB2#8B2CB2

#8B2CB2 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.205 H 313.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8B2CB2
RGBrgb(139, 44, 178)
HSLhsl(283, 60%, 44%)
HSVhsv(283, 75%, 70%)
CMYKcmyk(21.9%, 75.3%, 0%, 30.2%)
CIE-LABlab(38.73, 59.39, -52.49)
CIE-LCHlch(38.73, 79.26, 318.53°)
OKLaboklab(49.83% 0.1423 -0.1482)
OKLCHoklch(49.83% 0.205 313.8)
XYZxyz(19.5826, 10.5053, 43.1070)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CB2 #53B22C
analogous
#482CB2 #8B2CB2 #B22C96
triadic
#8B2CB2 #B28B2C #2CB28B
tetradic
#8B2CB2 #B2482C #53B22C #2C96B2
square
#8B2CB2 #B2482C #53B22C #2C96B2
split-complementary
#8B2CB2 #96B22C #2CB248
monochromatic
#3E1450 #652081 #8B2CB2 #AA49D2 #C17ADE

Accessibility & contrast

On white

6.77
#8B2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8B2CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CB2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CB2#FFFFFF#000000##FFFFFF
##8B2CB21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#215DAF
Tritanopia (blue-blind)
#874A6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2cb2;
/* rgb */ color: rgb(139, 44, 178);
/* oklch */ color: oklch(49.8% 0.205 313.8);
Tailwind
colors: {
  custom: {
    50: '#b16fca',
    500: '#8b2cb2',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cb2;
$custom-light: #b16fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cb2",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 282.537,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.20546,
    "h": 313.8
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#8B2CB2
secondary
#8CC673
accent
#E44473
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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