#8A6286#8A6286

#8A6286 is a mid, moderate purple. Relative luminance 0.159; OKLCH L 55.0% C 0.073 H 330.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8A6286
RGBrgb(138, 98, 134)
HSLhsl(306, 17%, 46%)
HSVhsv(306, 29%, 54%)
CMYKcmyk(0%, 29%, 2.9%, 45.9%)
CIE-LABlab(46.79, 22.48, -13.55)
CIE-LCHlch(46.79, 26.25, 328.91°)
OKLaboklab(55.01% 0.0631 -0.0365)
OKLCHoklch(55.01% 0.073 330)
XYZxyz(19.1516, 15.8605, 24.6022)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6286 #628A66
analogous
#7A628A #8A6286 #8A6272
triadic
#8A6286 #868A62 #62868A
tetradic
#8A6286 #8A7A62 #628A66 #62728A
square
#8A6286 #8A7A62 #628A66 #62728A
split-complementary
#8A6286 #728A62 #628A7A
monochromatic
#422F41 #664963 #8A6286 #A783A3 #C0A6BD

Accessibility & contrast

On white

5.03
#8A6286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8A6286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6286
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6286#FFFFFF#000000##FFFFFF
##8A62861.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616C87
Deuteranopia (green-blind)
#6A7185
Tritanopia (blue-blind)
#8D656F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a6286;
/* rgb */ color: rgb(138, 98, 134);
/* oklch */ color: oklch(55.0% 0.073 330.0);
Tailwind
colors: {
  custom: {
    50: '#ac8fa9',
    500: '#8a6286',
    950: '#000000',
  },
}
SCSS
$custom: #8a6286;
$custom-light: #ac8fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6286",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 134
  },
  "hsl": {
    "h": 306,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55014,
    "c": 0.07285,
    "h": 330
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#8A6286
secondary
#99AF9B
accent
#BA766E
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A6286

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

Preview Lab → · Contrast checker → · Palette generator →

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