#8A2B86#8A2B86

#8A2B86 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.8% C 0.167 H 329.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8A2B86
RGBrgb(138, 43, 134)
HSLhsl(303, 52%, 35%)
HSVhsv(303, 69%, 54%)
CMYKcmyk(0%, 68.8%, 2.9%, 45.9%)
CIE-LABlab(35.70, 51.19, -30.72)
CIE-LCHlch(35.70, 59.70, 329.03°)
OKLaboklab(46.76% 0.1445 -0.0847)
OKLCHoklch(46.76% 0.167 329.6)
XYZxyz(15.6481, 8.8534, 23.4343)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B86 #2B8A2F
analogous
#5E2B8A #8A2B86 #8A2B57
triadic
#8A2B86 #868A2B #2B868A
tetradic
#8A2B86 #8A5E2B #2B8A2F #2B578A
square
#8A2B86 #8A5E2B #2B8A2F #2B578A
split-complementary
#8A2B86 #578A2B #2B8A5E
monochromatic
#2D0E2B #5B1C59 #8A2B86 #B93AB3 #CE61C9

Accessibility & contrast

On white

7.58
#8A2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B86
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B86#FFFFFF#000000##FFFFFF
##8A2B861.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#455884
Tritanopia (blue-blind)
#8F3755
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2b86;
/* rgb */ color: rgb(138, 43, 134);
/* oklch */ color: oklch(46.8% 0.167 329.6);
Tailwind
colors: {
  custom: {
    50: '#af6da9',
    500: '#8a2b86',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b86;
$custom-light: #af6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b86",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 302.526,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46758,
    "c": 0.16748,
    "h": 329.6
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#8A2B86
secondary
#5DB460
accent
#DC524C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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