#8A7D99#8A7D99

#8A7D99 is a mid, muted violet. Relative luminance 0.224; OKLCH L 61.1% C 0.044 H 306.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A7D99
RGBrgb(138, 125, 153)
HSLhsl(268, 12%, 55%)
HSVhsv(268, 18%, 60%)
CMYKcmyk(9.8%, 18.3%, 0%, 40%)
CIE-LABlab(54.42, 10.58, -13.21)
CIE-LCHlch(54.42, 16.93, 308.68°)
OKLaboklab(61.11% 0.0261 -0.0357)
OKLCHoklch(61.11% 0.044 306.1)
XYZxyz(23.5636, 22.3705, 33.2074)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7D99 #8C997D
analogous
#7D7E99 #8A7D99 #987D99
triadic
#8A7D99 #998A7D #7D998A
tetradic
#8A7D99 #997D7E #8C997D #7D9998
square
#8A7D99 #997D7E #8C997D #7D9998
split-complementary
#8A7D99 #99987D #7E997D
monochromatic
#4D4457 #6B5F79 #8A7D99 #A99FB4 #C8C2CF

Accessibility & contrast

On white

3.84
#8A7D99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8A7D99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7D99
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7D99#FFFFFF#000000##000000
##8A7D991.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78829A
Deuteranopia (green-blind)
#7B8298
Tritanopia (blue-blind)
#888186
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a7d99;
/* rgb */ color: rgb(138, 125, 153);
/* oklch */ color: oklch(61.1% 0.044 306.1);
Tailwind
colors: {
  custom: {
    50: '#aca2b7',
    500: '#8a7d99',
    950: '#000000',
  },
}
SCSS
$custom: #8a7d99;
$custom-light: #aca2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7d99",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 153
  },
  "hsl": {
    "h": 267.857,
    "s": 12.069,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61108,
    "c": 0.04425,
    "h": 306.1
  },
  "luminance": 0.2237
}

Semantic roles & 50–950 ramp

primary
#8A7D99
secondary
#B9BFB3
accent
#B57396
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #8A7D99

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

Preview Lab → · Contrast checker → · Palette generator →

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