#8B2BB2#8B2BB2

#8B2BB2 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.207 H 313.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8B2BB2
RGBrgb(139, 43, 178)
HSLhsl(283, 61%, 43%)
HSVhsv(283, 76%, 70%)
CMYKcmyk(21.9%, 75.8%, 0%, 30.2%)
CIE-LABlab(38.61, 59.75, -52.69)
CIE-LCHlch(38.61, 79.67, 318.59°)
OKLaboklab(49.74% 0.1432 -0.1488)
OKLCHoklch(49.74% 0.207 313.9)
XYZxyz(19.5458, 10.4317, 43.0948)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BB2 #52B22B
analogous
#482BB2 #8B2BB2 #B22B95
triadic
#8B2BB2 #B28B2B #2BB28B
tetradic
#8B2BB2 #B2482B #52B22B #2B95B2
square
#8B2BB2 #B2482B #52B22B #2B95B2
split-complementary
#8B2BB2 #95B22B #2BB248
monochromatic
#3E134F #651F81 #8B2BB2 #AA48D3 #C179DF

Accessibility & contrast

On white

6.80
#8B2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8B2BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BB2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BB2#FFFFFF#000000##FFFFFF
##8B2BB21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2bb2;
/* rgb */ color: rgb(139, 43, 178);
/* oklch */ color: oklch(49.7% 0.207 313.9);
Tailwind
colors: {
  custom: {
    50: '#b16fca',
    500: '#8b2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bb2;
$custom-light: #b16fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bb2",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 282.667,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49743,
    "c": 0.20653,
    "h": 313.9
  },
  "luminance": 0.10431
}

Semantic roles & 50–950 ramp

primary
#8B2BB2
secondary
#8BC772
accent
#E44472
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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