#8B2BBB#8B2BBB

#8B2BBB is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.215 H 311.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8B2BBB
RGBrgb(139, 43, 187)
HSLhsl(280, 63%, 45%)
HSVhsv(280, 77%, 73%)
CMYKcmyk(25.7%, 77%, 0%, 26.7%)
CIE-LABlab(39.25, 61.60, -56.97)
CIE-LCHlch(39.25, 83.91, 317.24°)
OKLaboklab(50.4% 0.1416 -0.1614)
OKLCHoklch(50.4% 0.215 311.3)
XYZxyz(20.4793, 10.8051, 48.0109)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BBB #5BBB2B
analogous
#432BBB #8B2BBB #BB2BA3
triadic
#8B2BBB #BB8B2B #2BBB8B
tetradic
#8B2BBB #BB432B #5BBB2B #2BA3BB
square
#8B2BBB #BB432B #5BBB2B #2BA3BB
split-complementary
#8B2BBB #A3BB2B #2BBB43
monochromatic
#411457 #662089 #8B2BBB #A84DD6 #C17FE2

Accessibility & contrast

On white

6.64
#8B2BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8B2BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BBB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BBB#FFFFFF#000000##FFFFFF
##8B2BBB1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2bbb;
/* rgb */ color: rgb(139, 43, 187);
/* oklch */ color: oklch(50.4% 0.215 311.3);
Tailwind
colors: {
  custom: {
    50: '#b26fd0',
    500: '#8b2bbb',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bbb;
$custom-light: #b26fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bbb",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 280,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50401,
    "c": 0.2147,
    "h": 311.3
  },
  "luminance": 0.10805
}

Semantic roles & 50–950 ramp

primary
#8B2BBB
secondary
#93CA78
accent
#E64279
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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