#8B2CB8#8B2CB8

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

Color values

HEX#8B2CB8
RGBrgb(139, 44, 184)
HSLhsl(281, 61%, 45%)
HSVhsv(281, 76%, 72%)
CMYKcmyk(24.5%, 76.1%, 0%, 27.8%)
CIE-LABlab(39.16, 60.62, -55.35)
CIE-LCHlch(39.16, 82.09, 317.60°)
OKLaboklab(50.27% 0.1413 -0.1566)
OKLCHoklch(50.27% 0.211 312)
XYZxyz(20.1983, 10.7516, 46.3494)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CB8 #59B82C
analogous
#452CB8 #8B2CB8 #B82C9F
triadic
#8B2CB8 #B88B2C #2CB88B
tetradic
#8B2CB8 #B8452C #59B82C #2C9FB8
square
#8B2CB8 #B8452C #59B82C #2C9FB8
split-complementary
#8B2CB8 #9FB82C #2CB845
monochromatic
#401455 #662087 #8B2CB8 #A94DD4 #C17EE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2CB8#FFFFFF#000000##FFFFFF
##8B2CB81.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)
#0058BC
Deuteranopia (green-blind)
#145EB5
Tritanopia (blue-blind)
#864D71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2cb8;
/* rgb */ color: rgb(139, 44, 184);
/* oklch */ color: oklch(50.3% 0.211 312.0);
Tailwind
colors: {
  custom: {
    50: '#b26fce',
    500: '#8b2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cb8;
$custom-light: #b26fce;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cb8",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 280.714,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50268,
    "c": 0.21094,
    "h": 312
  },
  "luminance": 0.10751
}

Semantic roles & 50–950 ramp

primary
#8B2CB8
secondary
#91C977
accent
#E54377
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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