#8A6D99#8A6D99

#8A6D99 is a mid, moderate violet. Relative luminance 0.186; OKLCH L 57.9% C 0.074 H 313.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8A6D99
RGBrgb(138, 109, 153)
HSLhsl(280, 18%, 51%)
HSVhsv(280, 29%, 60%)
CMYKcmyk(9.8%, 28.8%, 0%, 40%)
CIE-LABlab(50.26, 19.97, -19.53)
CIE-LCHlch(50.26, 27.93, 315.63°)
OKLaboklab(57.91% 0.0512 -0.0533)
OKLCHoklch(57.91% 0.074 313.9)
XYZxyz(21.6987, 18.6408, 32.5858)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6D99 #7C996D
analogous
#746D99 #8A6D99 #996D92
triadic
#8A6D99 #998A6D #6D998A
tetradic
#8A6D99 #99746D #7C996D #6D9299
square
#8A6D99 #99746D #7C996D #6D9299
split-complementary
#8A6D99 #92996D #6D9974
monochromatic
#4A3952 #6A5376 #8A6D99 #A791B2 #C4B5CB

Accessibility & contrast

On white

4.44
#8A6D99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8A6D99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6D99
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6D99#FFFFFF#000000##000000
##8A6D991.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#67769B
Deuteranopia (green-blind)
#6D7898
Tritanopia (blue-blind)
#89727D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a6d99;
/* rgb */ color: rgb(138, 109, 153);
/* oklch */ color: oklch(57.9% 0.074 313.9);
Tailwind
colors: {
  custom: {
    50: '#ac97b7',
    500: '#8a6d99',
    950: '#000000',
  },
}
SCSS
$custom: #8a6d99;
$custom-light: #ac97b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6d99",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 153
  },
  "hsl": {
    "h": 279.545,
    "s": 17.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57907,
    "c": 0.07391,
    "h": 313.9
  },
  "luminance": 0.1864
}

Semantic roles & 50–950 ramp

primary
#8A6D99
secondary
#AEBBA7
accent
#BA6D88
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A6D99

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

Preview Lab → · Contrast checker → · Palette generator →

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