#8A2BA0#8A2BA0

#8A2BA0 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.190 H 319.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A2BA0
RGBrgb(138, 43, 160)
HSLhsl(289, 58%, 40%)
HSVhsv(289, 73%, 63%)
CMYKcmyk(13.8%, 73.1%, 0%, 37.3%)
CIE-LABlab(37.24, 55.97, -44.13)
CIE-LCHlch(37.24, 71.28, 321.75°)
OKLaboklab(48.36% 0.1441 -0.1238)
OKLCHoklch(48.36% 0.19 319.3)
XYZxyz(17.6895, 9.6700, 34.1856)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2BA0 #41A02B
analogous
#502BA0 #8A2BA0 #A02B7B
triadic
#8A2BA0 #A08A2B #2BA08A
tetradic
#8A2BA0 #A0502B #41A02B #2B7BA0
square
#8A2BA0 #A0502B #41A02B #2B7BA0
split-complementary
#8A2BA0 #7BA02B #2BA050
monochromatic
#371140 #601E70 #8A2BA0 #B03DCB #C46ED8

Accessibility & contrast

On white

7.16
#8A2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A2BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2BA0
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2BA0#FFFFFF#000000##FFFFFF
##8A2BA01.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#345B9D
Tritanopia (blue-blind)
#8A4263
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a2ba0;
/* rgb */ color: rgb(138, 43, 160);
/* oklch */ color: oklch(48.4% 0.190 319.3);
Tailwind
colors: {
  custom: {
    50: '#b06ebd',
    500: '#8a2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #8a2ba0;
$custom-light: #b06ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2ba0",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 288.718,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48361,
    "c": 0.18996,
    "h": 319.3
  },
  "luminance": 0.09669
}

Semantic roles & 50–950 ramp

primary
#8A2BA0
secondary
#78BF68
accent
#E14764
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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