#8A6B95#8A6B95

#8A6B95 is a mid, moderate purple. Relative luminance 0.181; OKLCH L 57.4% C 0.073 H 317.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A6B95
RGBrgb(138, 107, 149)
HSLhsl(284, 17%, 50%)
HSVhsv(284, 28%, 58%)
CMYKcmyk(7.4%, 28.2%, 0%, 41.6%)
CIE-LABlab(49.60, 20.28, -18.18)
CIE-LCHlch(49.60, 27.24, 318.11°)
OKLaboklab(57.35% 0.0532 -0.0495)
OKLCHoklch(57.35% 0.073 317.1)
XYZxyz(21.1629, 18.0890, 30.8046)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6B95 #76956B
analogous
#756B95 #8A6B95 #956B8B
triadic
#8A6B95 #958A6B #6B958A
tetradic
#8A6B95 #95756B #76956B #6B8B95
square
#8A6B95 #95756B #76956B #6B8B95
split-complementary
#8A6B95 #8B956B #6B9575
monochromatic
#48384E #695172 #8A6B95 #A68FAF #C2B2C8

Accessibility & contrast

On white

4.55
#8A6B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8A6B95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6B95
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6B95#FFFFFF#000000##000000
##8A6B951.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#667497
Deuteranopia (green-blind)
#6C7794
Tritanopia (blue-blind)
#8A707A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a6b95;
/* rgb */ color: rgb(138, 107, 149);
/* oklch */ color: oklch(57.4% 0.073 317.1);
Tailwind
colors: {
  custom: {
    50: '#ac95b4',
    500: '#8a6b95',
    950: '#000000',
  },
}
SCSS
$custom: #8a6b95;
$custom-light: #ac95b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6b95",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 149
  },
  "hsl": {
    "h": 284.286,
    "s": 16.535,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5735,
    "c": 0.07265,
    "h": 317.1
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#8A6B95
secondary
#A9B7A5
accent
#B96F82
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A6B95

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

Preview Lab → · Contrast checker → · Palette generator →

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