#8A7899#8A7899

#8A7899 is a mid, muted violet. Relative luminance 0.211; OKLCH L 60.1% C 0.053 H 309.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A7899
RGBrgb(138, 120, 153)
HSLhsl(273, 14%, 54%)
HSVhsv(273, 22%, 60%)
CMYKcmyk(9.8%, 21.6%, 0%, 40%)
CIE-LABlab(53.10, 13.50, -15.21)
CIE-LCHlch(53.10, 20.34, 311.59°)
OKLaboklab(60.09% 0.0339 -0.0412)
OKLCHoklch(60.09% 0.053 309.4)
XYZxyz(22.9465, 21.1363, 33.0017)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7899 #879978
analogous
#797899 #8A7899 #997897
triadic
#8A7899 #998A78 #78998A
tetradic
#8A7899 #997978 #879978 #789799
square
#8A7899 #997978 #879978 #789799
split-complementary
#8A7899 #979978 #789979
monochromatic
#4C4156 #6B5B79 #8A7899 #A89BB3 #C6BECE

Accessibility & contrast

On white

4.02
#8A7899 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A7899 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7899
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7899#FFFFFF#000000##000000
##8A78991.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#737E9A
Deuteranopia (green-blind)
#767F98
Tritanopia (blue-blind)
#887C83
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a7899;
/* rgb */ color: rgb(138, 120, 153);
/* oklch */ color: oklch(60.1% 0.053 309.4);
Tailwind
colors: {
  custom: {
    50: '#ac9fb7',
    500: '#8a7899',
    950: '#000000',
  },
}
SCSS
$custom: #8a7899;
$custom-light: #ac9fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7899",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 272.727,
    "s": 13.924,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60087,
    "c": 0.0534,
    "h": 309.4
  },
  "luminance": 0.21136
}

Semantic roles & 50–950 ramp

primary
#8A7899
secondary
#B6BDAF
accent
#B77191
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A7899

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

Preview Lab → · Contrast checker → · Palette generator →

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