#8A2C86#8A2C86

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

Color values

HEX#8A2C86
RGBrgb(138, 44, 134)
HSLhsl(303, 52%, 36%)
HSVhsv(303, 68%, 54%)
CMYKcmyk(0%, 68.1%, 2.9%, 45.9%)
CIE-LABlab(35.84, 50.79, -30.49)
CIE-LCHlch(35.84, 59.24, 329.02°)
OKLaboklab(46.86% 0.1433 -0.084)
OKLCHoklch(46.86% 0.166 329.6)
XYZxyz(15.6849, 8.9270, 23.4466)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C86 #2C8A30
analogous
#5F2C8A #8A2C86 #8A2C57
triadic
#8A2C86 #868A2C #2C868A
tetradic
#8A2C86 #8A5F2C #2C8A30 #2C578A
square
#8A2C86 #8A5F2C #2C8A30 #2C578A
split-complementary
#8A2C86 #578A2C #2C8A5F
monochromatic
#2D0E2C #5C1D59 #8A2C86 #B83BB3 #CD63C9

Accessibility & contrast

On white

7.54
#8A2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8A2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C86
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C86#FFFFFF#000000##FFFFFF
##8A2C861.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2c86;
/* rgb */ color: rgb(138, 44, 134);
/* oklch */ color: oklch(46.9% 0.166 329.6);
Tailwind
colors: {
  custom: {
    50: '#af6da9',
    500: '#8a2c86',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c86;
$custom-light: #af6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c86",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 302.553,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46861,
    "c": 0.16616,
    "h": 329.6
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#8A2C86
secondary
#5EB462
accent
#DB534D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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