#8B2BB3#8B2BB3

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

Color values

HEX#8B2BB3
RGBrgb(139, 43, 179)
HSLhsl(282, 61%, 44%)
HSVhsv(282, 76%, 70%)
CMYKcmyk(22.3%, 76%, 0%, 29.8%)
CIE-LABlab(38.68, 59.96, -53.17)
CIE-LCHlch(38.68, 80.14, 318.43°)
OKLaboklab(49.82% 0.143 -0.1502)
OKLCHoklch(49.82% 0.207 313.6)
XYZxyz(19.6466, 10.4720, 43.6255)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BB3 #53B32B
analogous
#472BB3 #8B2BB3 #B32B97
triadic
#8B2BB3 #B38B2B #2BB38B
tetradic
#8B2BB3 #B3472B #53B32B #2B97B3
square
#8B2BB3 #B3472B #53B32B #2B97B3
split-complementary
#8B2BB3 #97B32B #2BB347
monochromatic
#3E1350 #651F82 #8B2BB3 #AA48D3 #C179DF

Accessibility & contrast

On white

6.79
#8B2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B2BB3
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BB3#FFFFFF#000000##FFFFFF
##8B2BB31.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#874A6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2bb3;
/* rgb */ color: rgb(139, 43, 179);
/* oklch */ color: oklch(49.8% 0.207 313.6);
Tailwind
colors: {
  custom: {
    50: '#b16fca',
    500: '#8b2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bb3;
$custom-light: #b16fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bb3",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 282.353,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49815,
    "c": 0.20743,
    "h": 313.6
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#8B2BB3
secondary
#8CC773
accent
#E44373
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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