#8B1EBB#8B1EBB

#8B1EBB is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.4% C 0.226 H 312.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8B1EBB
RGBrgb(139, 30, 187)
HSLhsl(282, 72%, 43%)
HSVhsv(282, 84%, 73%)
CMYKcmyk(25.7%, 84%, 0%, 26.7%)
CIE-LABlab(37.85, 65.66, -59.24)
CIE-LCHlch(37.85, 88.43, 317.95°)
OKLaboklab(49.42% 0.1513 -0.168)
OKLCHoklch(49.42% 0.226 312)
XYZxyz(20.0797, 10.0059, 47.8777)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1EBB #4EBB1E
analogous
#3C1EBB #8B1EBB #BB1E9C
triadic
#8B1EBB #BB8B1E #1EBB8B
tetradic
#8B1EBB #BB3C1E #4EBB1E #1E9CBB
square
#8B1EBB #BB3C1E #4EBB1E #1E9CBB
split-complementary
#8B1EBB #9CBB1E #1EBB3C
monochromatic
#3D0D52 #641686 #8B1EBB #AC37DF #C26CE7

Accessibility & contrast

On white

7.00
#8B1EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8B1EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B1EBB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1EBB#FFFFFF#000000##FFFFFF
##8B1EBB1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#854870
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b1ebb;
/* rgb */ color: rgb(139, 30, 187);
/* oklch */ color: oklch(49.4% 0.226 312.0);
Tailwind
colors: {
  custom: {
    50: '#b26ad0',
    500: '#8b1ebb',
    950: '#000000',
  },
}
SCSS
$custom: #8b1ebb;
$custom-light: #b26ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1ebb",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 281.656,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49423,
    "c": 0.22609,
    "h": 312
  },
  "luminance": 0.10005
}

Semantic roles & 50–950 ramp

primary
#8B1EBB
secondary
#87CD67
accent
#EF3970
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #8B1EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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