#8E2BBB#8E2BBB

#8E2BBB is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.216 H 312.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8E2BBB
RGBrgb(142, 43, 187)
HSLhsl(281, 63%, 45%)
HSVhsv(281, 77%, 73%)
CMYKcmyk(24.1%, 77%, 0%, 26.7%)
CIE-LABlab(39.69, 62.15, -56.23)
CIE-LCHlch(39.69, 83.81, 317.87°)
OKLaboklab(50.8% 0.1455 -0.1591)
OKLCHoklch(50.8% 0.216 312.4)
XYZxyz(20.9872, 11.0670, 48.0347)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BBB #58BB2B
analogous
#462BBB #8E2BBB #BB2BA0
triadic
#8E2BBB #BB8E2B #2BBB8E
tetradic
#8E2BBB #BB462B #58BB2B #2BA0BB
square
#8E2BBB #BB462B #58BB2B #2BA0BB
split-complementary
#8E2BBB #A0BB2B #2BBB46
monochromatic
#421457 #682089 #8E2BBB #AB4DD6 #C37FE2

Accessibility & contrast

On white

6.54
#8E2BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E2BBB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BBB#FFFFFF#000000##FFFFFF
##8E2BBB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#145FB8
Tritanopia (blue-blind)
#894D72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2bbb;
/* rgb */ color: rgb(142, 43, 187);
/* oklch */ color: oklch(50.8% 0.216 312.4);
Tailwind
colors: {
  custom: {
    50: '#b470d0',
    500: '#8e2bbb',
    950: '#000000',
  },
}
SCSS
$custom: #8e2bbb;
$custom-light: #b470d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2bbb",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 281.25,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.21562,
    "h": 312.4
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#8E2BBB
secondary
#91CA78
accent
#E64275
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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