#8B2EA3#8B2EA3

#8B2EA3 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.190 H 318.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8B2EA3
RGBrgb(139, 46, 163)
HSLhsl(288, 56%, 41%)
HSVhsv(288, 72%, 64%)
CMYKcmyk(14.7%, 71.8%, 0%, 36.1%)
CIE-LABlab(38.00, 55.61, -44.72)
CIE-LCHlch(38.00, 71.36, 321.20°)
OKLaboklab(48.99% 0.1421 -0.1255)
OKLCHoklch(48.99% 0.19 318.5)
XYZxyz(18.2344, 10.0881, 35.6299)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EA3 #46A32E
analogous
#502EA3 #8B2EA3 #A32E80
triadic
#8B2EA3 #A38B2E #2EA38B
tetradic
#8B2EA3 #A3502E #46A32E #2E80A3
square
#8B2EA3 #A3502E #46A32E #2E80A3
split-complementary
#8B2EA3 #80A32E #2EA350
monochromatic
#3A1344 #622173 #8B2EA3 #AF44CA #C374D8

Accessibility & contrast

On white

6.96
#8B2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8B2EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2EA3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2EA3#FFFFFF#000000##FFFFFF
##8B2EA31.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#8B4565
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2ea3;
/* rgb */ color: rgb(139, 46, 163);
/* oklch */ color: oklch(49.0% 0.190 318.5);
Tailwind
colors: {
  custom: {
    50: '#b070bf',
    500: '#8b2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ea3;
$custom-light: #b070bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ea3",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 287.692,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48993,
    "c": 0.18952,
    "h": 318.5
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#8B2EA3
secondary
#7EBF6D
accent
#DF4967
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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