#8A6B8D#8A6B8D

#8A6B8D is a mid, moderate purple. Relative luminance 0.178; OKLCH L 57.0% C 0.063 H 323.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A6B8D
RGBrgb(138, 107, 141)
HSLhsl(295, 14%, 49%)
HSVhsv(295, 24%, 55%)
CMYKcmyk(2.1%, 24.1%, 0%, 44.7%)
CIE-LABlab(49.30, 18.59, -13.91)
CIE-LCHlch(49.30, 23.22, 323.19°)
OKLaboklab(57.02% 0.0506 -0.0375)
OKLCHoklch(57.02% 0.063 323.5)
XYZxyz(20.5461, 17.8422, 27.5557)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6B8D #6E8D6B
analogous
#796B8D #8A6B8D #8D6B7F
triadic
#8A6B8D #8D8A6B #6B8D8A
tetradic
#8A6B8D #8D796B #6E8D6B #6B7F8D
square
#8A6B8D #8D796B #6E8D6B #6B7F8D
split-complementary
#8A6B8D #7F8D6B #6B8D79
monochromatic
#463647 #68516A #8A6B8D #A68DA8 #C1B0C3

Accessibility & contrast

On white

4.60
#8A6B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8A6B8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6B8D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6B8D#FFFFFF#000000##FFFFFF
##8A6B8D1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68738E
Deuteranopia (green-blind)
#6F768C
Tritanopia (blue-blind)
#8B6E77
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a6b8d;
/* rgb */ color: rgb(138, 107, 141);
/* oklch */ color: oklch(57.0% 0.063 323.5);
Tailwind
colors: {
  custom: {
    50: '#ac95ae',
    500: '#8a6b8d',
    950: '#000000',
  },
}
SCSS
$custom: #8a6b8d;
$custom-light: #ac95ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6b8d",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 141
  },
  "hsl": {
    "h": 294.706,
    "s": 13.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57022,
    "c": 0.06304,
    "h": 323.5
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#8A6B8D
secondary
#A3B2A2
accent
#B77177
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A6B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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