#8A6F99#8A6F99

#8A6F99 is a mid, moderate violet. Relative luminance 0.191; OKLCH L 58.3% C 0.070 H 313.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A6F99
RGBrgb(138, 111, 153)
HSLhsl(279, 17%, 52%)
HSVhsv(279, 27%, 60%)
CMYKcmyk(9.8%, 27.5%, 0%, 40%)
CIE-LABlab(50.77, 18.79, -18.75)
CIE-LCHlch(50.77, 26.55, 315.05°)
OKLaboklab(58.3% 0.0481 -0.0511)
OKLCHoklch(58.3% 0.07 313.3)
XYZxyz(21.9145, 19.0724, 32.6577)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6F99 #7E996F
analogous
#756F99 #8A6F99 #996F93
triadic
#8A6F99 #998A6F #6F998A
tetradic
#8A6F99 #99756F #7E996F #6F9399
square
#8A6F99 #99756F #7E996F #6F9399
split-complementary
#8A6F99 #93996F #6F9975
monochromatic
#4A3B53 #6A5477 #8A6F99 #A793B2 #C4B7CC

Accessibility & contrast

On white

4.36
#8A6F99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8A6F99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6F99
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6F99#FFFFFF#000000##000000
##8A6F991.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#69779B
Deuteranopia (green-blind)
#6F7A98
Tritanopia (blue-blind)
#89747E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a6f99;
/* rgb */ color: rgb(138, 111, 153);
/* oklch */ color: oklch(58.3% 0.070 313.3);
Tailwind
colors: {
  custom: {
    50: '#ac98b7',
    500: '#8a6f99',
    950: '#000000',
  },
}
SCSS
$custom: #8a6f99;
$custom-light: #ac98b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6f99",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 153
  },
  "hsl": {
    "h": 278.571,
    "s": 17.073,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58296,
    "c": 0.07016,
    "h": 313.3
  },
  "luminance": 0.19072
}

Semantic roles & 50–950 ramp

primary
#8A6F99
secondary
#AFBBA9
accent
#BA6E89
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A6F99

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

Preview Lab → · Contrast checker → · Palette generator →

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