#8A2686#8A2686

#8A2686 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.174 H 329.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8A2686
RGBrgb(138, 38, 134)
HSLhsl(302, 57%, 35%)
HSVhsv(302, 72%, 54%)
CMYKcmyk(0%, 72.5%, 2.9%, 45.9%)
CIE-LABlab(35.03, 53.09, -31.78)
CIE-LCHlch(35.03, 61.88, 329.10°)
OKLaboklab(46.27% 0.1499 -0.0877)
OKLCHoklch(46.27% 0.174 329.7)
XYZxyz(15.4773, 8.5119, 23.3774)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2686 #268A2A
analogous
#5C268A #8A2686 #8A2654
triadic
#8A2686 #868A26 #26868A
tetradic
#8A2686 #8A5C26 #268A2A #26548A
square
#8A2686 #8A5C26 #268A2A #26548A
split-complementary
#8A2686 #548A26 #268A5C
monochromatic
#2A0C29 #5A1957 #8A2686 #BA33B5 #D159CD

Accessibility & contrast

On white

7.77
#8A2686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A2686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2686
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2686#FFFFFF#000000##FFFFFF
##8A26861.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A89
Deuteranopia (green-blind)
#435783
Tritanopia (blue-blind)
#8F3353
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2686;
/* rgb */ color: rgb(138, 38, 134);
/* oklch */ color: oklch(46.3% 0.174 329.7);
Tailwind
colors: {
  custom: {
    50: '#af6ba9',
    500: '#8a2686',
    950: '#000000',
  },
}
SCSS
$custom: #8a2686;
$custom-light: #af6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2686",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 302.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46273,
    "c": 0.17371,
    "h": 329.7
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#8A2686
secondary
#56B65A
accent
#E04E48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2686

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

Preview Lab → · Contrast checker → · Palette generator →

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