#8A6B97#8A6B97

#8A6B97 is a mid, moderate purple. Relative luminance 0.182; OKLCH L 57.4% C 0.075 H 315.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8A6B97
RGBrgb(138, 107, 151)
HSLhsl(282, 17%, 51%)
HSVhsv(282, 29%, 59%)
CMYKcmyk(8.6%, 29.1%, 0%, 40.8%)
CIE-LABlab(49.68, 20.71, -19.25)
CIE-LCHlch(49.68, 28.27, 317.10°)
OKLaboklab(57.44% 0.0538 -0.0524)
OKLCHoklch(57.44% 0.075 315.7)
XYZxyz(21.3240, 18.1534, 31.6528)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6B97 #78976B
analogous
#746B97 #8A6B97 #976B8E
triadic
#8A6B97 #978A6B #6B978A
tetradic
#8A6B97 #97746B #78976B #6B8E97
square
#8A6B97 #97746B #78976B #6B8E97
split-complementary
#8A6B97 #8E976B #6B9774
monochromatic
#493850 #695174 #8A6B97 #A68FB0 #C3B3CA

Accessibility & contrast

On white

4.54
#8A6B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8A6B97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6B97
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6B97#FFFFFF#000000##000000
##8A6B971.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#657499
Deuteranopia (green-blind)
#6C7796
Tritanopia (blue-blind)
#8A707B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a6b97;
/* rgb */ color: rgb(138, 107, 151);
/* oklch */ color: oklch(57.4% 0.075 315.7);
Tailwind
colors: {
  custom: {
    50: '#ac95b5',
    500: '#8a6b97',
    950: '#000000',
  },
}
SCSS
$custom: #8a6b97;
$custom-light: #ac95b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6b97",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 151
  },
  "hsl": {
    "h": 282.273,
    "s": 17.46,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57435,
    "c": 0.07514,
    "h": 315.7
  },
  "luminance": 0.18153
}

Semantic roles & 50–950 ramp

primary
#8A6B97
secondary
#ABB9A5
accent
#BA6E84
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A6B97

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

Preview Lab → · Contrast checker → · Palette generator →

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