#8A2386#8A2386

#8A2386 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.177 H 329.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8A2386
RGBrgb(138, 35, 134)
HSLhsl(302, 60%, 34%)
HSVhsv(302, 75%, 54%)
CMYKcmyk(0%, 74.6%, 2.9%, 45.9%)
CIE-LABlab(34.66, 54.15, -32.37)
CIE-LCHlch(34.66, 63.09, 329.13°)
OKLaboklab(46.01% 0.153 -0.0894)
OKLCHoklch(46.01% 0.177 329.7)
XYZxyz(15.3852, 8.3277, 23.3467)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2386 #238A27
analogous
#5B238A #8A2386 #8A2353
triadic
#8A2386 #868A23 #23868A
tetradic
#8A2386 #8A5B23 #238A27 #23538A
square
#8A2386 #8A5B23 #238A27 #23538A
split-complementary
#8A2386 #538A23 #238A5B
monochromatic
#280A27 #591757 #8A2386 #BB2FB5 #D454CF

Accessibility & contrast

On white

7.88
#8A2386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A2386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2386
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2386#FFFFFF#000000##FFFFFF
##8A23861.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154989
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#8F3152
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2386;
/* rgb */ color: rgb(138, 35, 134);
/* oklch */ color: oklch(46.0% 0.177 329.7);
Tailwind
colors: {
  custom: {
    50: '#b069a9',
    500: '#8a2386',
    950: '#000000',
  },
}
SCSS
$custom: #8a2386;
$custom-light: #b069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2386",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 302.33,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46007,
    "c": 0.17717,
    "h": 329.7
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#8A2386
secondary
#51B755
accent
#E34B45
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2386

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

Preview Lab → · Contrast checker → · Palette generator →

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