#8B2EA0#8B2EA0

#8B2EA0 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.187 H 319.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8B2EA0
RGBrgb(139, 46, 160)
HSLhsl(289, 55%, 40%)
HSVhsv(289, 71%, 63%)
CMYKcmyk(13.1%, 71.2%, 0%, 37.3%)
CIE-LABlab(37.81, 55.03, -43.22)
CIE-LCHlch(37.81, 69.97, 321.85°)
OKLaboklab(48.8% 0.1423 -0.1211)
OKLCHoklch(48.8% 0.187 319.6)
XYZxyz(17.9688, 9.9819, 34.2311)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EA0 #43A02E
analogous
#522EA0 #8B2EA0 #A02E7C
triadic
#8B2EA0 #A08B2E #2EA08B
tetradic
#8B2EA0 #A0522E #43A02E #2E7CA0
square
#8B2EA0 #A0522E #43A02E #2E7CA0
split-complementary
#8B2EA0 #7CA02E #2EA052
monochromatic
#381341 #622070 #8B2EA0 #B042C9 #C472D6

Accessibility & contrast

On white

7.01
#8B2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2EA0
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2EA0#FFFFFF#000000##FFFFFF
##8B2EA01.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#375C9D
Tritanopia (blue-blind)
#8B4464
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2ea0;
/* rgb */ color: rgb(139, 46, 160);
/* oklch */ color: oklch(48.8% 0.187 319.6);
Tailwind
colors: {
  custom: {
    50: '#b06fbd',
    500: '#8b2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ea0;
$custom-light: #b06fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ea0",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 288.947,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.1868,
    "h": 319.6
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#8B2EA0
secondary
#7BBE6C
accent
#DF4965
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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