#8B2BB5#8B2BB5

#8B2BB5 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.209 H 313.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8B2BB5
RGBrgb(139, 43, 181)
HSLhsl(282, 62%, 44%)
HSVhsv(282, 76%, 71%)
CMYKcmyk(23.2%, 76.2%, 0%, 29%)
CIE-LABlab(38.82, 60.37, -54.13)
CIE-LCHlch(38.82, 81.08, 318.12°)
OKLaboklab(49.96% 0.1427 -0.153)
OKLCHoklch(49.96% 0.209 313)
XYZxyz(19.8503, 10.5535, 44.6985)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BB5 #55B52B
analogous
#462BB5 #8B2BB5 #B52B9A
triadic
#8B2BB5 #B58B2B #2BB58B
tetradic
#8B2BB5 #B5462B #55B52B #2B9AB5
square
#8B2BB5 #B5462B #55B52B #2B9AB5
split-complementary
#8B2BB5 #9AB52B #2BB546
monochromatic
#3F1452 #651F84 #8B2BB5 #AA49D4 #C17BE0

Accessibility & contrast

On white

6.75
#8B2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8B2BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BB5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BB5#FFFFFF#000000##FFFFFF
##8B2BB51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#1A5DB2
Tritanopia (blue-blind)
#864B6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2bb5;
/* rgb */ color: rgb(139, 43, 181);
/* oklch */ color: oklch(50.0% 0.209 313.0);
Tailwind
colors: {
  custom: {
    50: '#b16fcc',
    500: '#8b2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bb5;
$custom-light: #b16fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bb5",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 281.739,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.20925,
    "h": 313
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#8B2BB5
secondary
#8EC874
accent
#E54374
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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