#8A2986#8A2986

#8A2986 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.170 H 329.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8A2986
RGBrgb(138, 41, 134)
HSLhsl(302, 54%, 35%)
HSVhsv(302, 70%, 54%)
CMYKcmyk(0%, 70.3%, 2.9%, 45.9%)
CIE-LABlab(35.42, 51.97, -31.16)
CIE-LCHlch(35.42, 60.60, 329.06°)
OKLaboklab(46.56% 0.1467 -0.0859)
OKLCHoklch(46.56% 0.17 329.6)
XYZxyz(15.5771, 8.7115, 23.4107)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2986 #298A2D
analogous
#5D298A #8A2986 #8A2956
triadic
#8A2986 #868A29 #29868A
tetradic
#8A2986 #8A5D29 #298A2D #29568A
square
#8A2986 #8A5D29 #298A2D #29568A
split-complementary
#8A2986 #568A29 #298A5D
monochromatic
#2C0D2A #5B1B58 #8A2986 #B937B4 #CF5ECB

Accessibility & contrast

On white

7.66
#8A2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2986
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2986#FFFFFF#000000##FFFFFF
##8A29861.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#445884
Tritanopia (blue-blind)
#8F3554
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2986;
/* rgb */ color: rgb(138, 41, 134);
/* oklch */ color: oklch(46.6% 0.170 329.6);
Tailwind
colors: {
  custom: {
    50: '#af6ca9',
    500: '#8a2986',
    950: '#000000',
  },
}
SCSS
$custom: #8a2986;
$custom-light: #af6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2986",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 302.474,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46557,
    "c": 0.17004,
    "h": 329.6
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#8A2986
secondary
#5AB55E
accent
#DE504A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2986

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

Preview Lab → · Contrast checker → · Palette generator →

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