#8B2BBD#8B2BBD

#8B2BBD is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.217 H 310.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8B2BBD
RGBrgb(139, 43, 189)
HSLhsl(279, 63%, 45%)
HSVhsv(279, 77%, 74%)
CMYKcmyk(26.5%, 77.2%, 0%, 25.9%)
CIE-LABlab(39.40, 62.02, -57.91)
CIE-LCHlch(39.40, 84.85, 316.97°)
OKLaboklab(50.55% 0.1412 -0.1641)
OKLCHoklch(50.55% 0.217 310.7)
XYZxyz(20.6949, 10.8913, 49.1463)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BBD #5DBD2B
analogous
#422BBD #8B2BBD #BD2BA6
triadic
#8B2BBD #BD8B2B #2BBD8B
tetradic
#8B2BBD #BD422B #5DBD2B #2BA6BD
square
#8B2BBD #BD422B #5DBD2B #2BA6BD
split-complementary
#8B2BBD #A6BD2B #2BBD42
monochromatic
#421459 #66208B #8B2BBD #A84ED7 #C180E2

Accessibility & contrast

On white

6.61
#8B2BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8B2BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BBD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BBD#FFFFFF#000000##FFFFFF
##8B2BBD1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#844F73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2bbd;
/* rgb */ color: rgb(139, 43, 189);
/* oklch */ color: oklch(50.5% 0.217 310.7);
Tailwind
colors: {
  custom: {
    50: '#b26fd2',
    500: '#8b2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bbd;
$custom-light: #b26fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bbd",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 279.452,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.21653,
    "h": 310.7
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#8B2BBD
secondary
#95CB79
accent
#E6427A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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