#8A2E86#8A2E86

#8A2E86 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.163 H 329.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8A2E86
RGBrgb(138, 46, 134)
HSLhsl(303, 50%, 36%)
HSVhsv(303, 67%, 54%)
CMYKcmyk(0%, 66.7%, 2.9%, 45.9%)
CIE-LABlab(36.14, 49.97, -30.03)
CIE-LCHlch(36.14, 58.30, 329.00°)
OKLaboklab(47.07% 0.141 -0.0827)
OKLCHoklch(47.07% 0.163 329.6)
XYZxyz(15.7612, 9.0796, 23.4720)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E86 #2E8A32
analogous
#602E8A #8A2E86 #8A2E58
triadic
#8A2E86 #868A2E #2E868A
tetradic
#8A2E86 #8A602E #2E8A32 #2E588A
square
#8A2E86 #8A602E #2E8A32 #2E588A
split-complementary
#8A2E86 #588A2E #2E8A60
monochromatic
#2E0F2D #5C1F59 #8A2E86 #B83DB3 #CC66C8

Accessibility & contrast

On white

7.46
#8A2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8A2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E86
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E86#FFFFFF#000000##FFFFFF
##8A2E861.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D89
Deuteranopia (green-blind)
#475984
Tritanopia (blue-blind)
#8F3956
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2e86;
/* rgb */ color: rgb(138, 46, 134);
/* oklch */ color: oklch(47.1% 0.163 329.6);
Tailwind
colors: {
  custom: {
    50: '#af6ea9',
    500: '#8a2e86',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e86;
$custom-light: #af6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e86",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 302.609,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47073,
    "c": 0.16347,
    "h": 329.6
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#8A2E86
secondary
#61B364
accent
#DA544E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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