#8B2EB9#8B2EB9

#8B2EB9 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.210 H 311.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8B2EB9
RGBrgb(139, 46, 185)
HSLhsl(280, 60%, 45%)
HSVhsv(280, 75%, 73%)
CMYKcmyk(24.9%, 75.1%, 0%, 27.5%)
CIE-LABlab(39.49, 60.09, -55.40)
CIE-LCHlch(39.49, 81.73, 317.32°)
OKLaboklab(50.52% 0.1393 -0.1568)
OKLCHoklch(50.52% 0.21 311.6)
XYZxyz(20.3798, 10.9463, 46.9288)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EB9 #5CB92E
analogous
#462EB9 #8B2EB9 #B92EA1
triadic
#8B2EB9 #B98B2E #2EB98B
tetradic
#8B2EB9 #B9462E #5CB92E #2EA1B9
square
#8B2EB9 #B9462E #5CB92E #2EA1B9
split-complementary
#8B2EB9 #A1B92E #2EB946
monochromatic
#411657 #662288 #8B2EB9 #A851D4 #C182E0

Accessibility & contrast

On white

6.58
#8B2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8B2EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2EB9
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2EB9#FFFFFF#000000##FFFFFF
##8B2EB91.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#155FB6
Tritanopia (blue-blind)
#854E72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2eb9;
/* rgb */ color: rgb(139, 46, 185);
/* oklch */ color: oklch(50.5% 0.210 311.6);
Tailwind
colors: {
  custom: {
    50: '#b170cf',
    500: '#8b2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #8b2eb9;
$custom-light: #b170cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2eb9",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 280.144,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50524,
    "c": 0.20975,
    "h": 311.6
  },
  "luminance": 0.10946
}

Semantic roles & 50–950 ramp

primary
#8B2EB9
secondary
#94C97A
accent
#E34479
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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