#8B2EBB#8B2EBB

#8B2EBB is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.212 H 311.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8B2EBB
RGBrgb(139, 46, 187)
HSLhsl(280, 61%, 46%)
HSVhsv(280, 75%, 73%)
CMYKcmyk(25.7%, 75.4%, 0%, 26.7%)
CIE-LABlab(39.63, 60.50, -56.35)
CIE-LCHlch(39.63, 82.68, 317.04°)
OKLaboklab(50.67% 0.139 -0.1596)
OKLCHoklch(50.67% 0.212 311)
XYZxyz(20.5924, 11.0313, 48.0486)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EBB #5EBB2E
analogous
#442EBB #8B2EBB #BB2EA5
triadic
#8B2EBB #BB8B2E #2EBB8B
tetradic
#8B2EBB #BB442E #5EBB2E #2EA5BB
square
#8B2EBB #BB442E #5EBB2E #2EA5BB
split-complementary
#8B2EBB #A5BB2E #2EBB44
monochromatic
#421659 #66228A #8B2EBB #A852D4 #C183E0

Accessibility & contrast

On white

6.55
#8B2EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8B2EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2EBB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2EBB#FFFFFF#000000##FFFFFF
##8B2EBB1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#105FB8
Tritanopia (blue-blind)
#854F73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2ebb;
/* rgb */ color: rgb(139, 46, 187);
/* oklch */ color: oklch(50.7% 0.212 311.0);
Tailwind
colors: {
  custom: {
    50: '#b271d0',
    500: '#8b2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ebb;
$custom-light: #b271d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ebb",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 279.574,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5067,
    "c": 0.21161,
    "h": 311
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#8B2EBB
secondary
#96CA7B
accent
#E4447A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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