#8A789B#8A789B

#8A789B is a mid, muted violet. Relative luminance 0.212; OKLCH L 60.2% C 0.056 H 308.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A789B
RGBrgb(138, 120, 155)
HSLhsl(271, 15%, 54%)
HSVhsv(271, 23%, 61%)
CMYKcmyk(11%, 22.6%, 0%, 39.2%)
CIE-LABlab(53.17, 13.94, -16.27)
CIE-LCHlch(53.17, 21.42, 310.59°)
OKLaboklab(60.17% 0.0346 -0.0442)
OKLCHoklch(60.17% 0.056 308)
XYZxyz(23.1130, 21.2029, 33.8789)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A789B #899B78
analogous
#79789B #8A789B #9B789B
triadic
#8A789B #9B8A78 #789B8A
tetradic
#8A789B #9B7978 #899B78 #789B9B
square
#8A789B #9B7978 #899B78 #789B9B
split-complementary
#8A789B #9B9B78 #789B79
monochromatic
#4D4158 #6B5B7B #8A789B #A89BB5 #C7BECF

Accessibility & contrast

On white

4.01
#8A789B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8A789B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A789B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A789B#FFFFFF#000000##000000
##8A789B1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#727E9C
Deuteranopia (green-blind)
#767F9A
Tritanopia (blue-blind)
#887C84
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a789b;
/* rgb */ color: rgb(138, 120, 155);
/* oklch */ color: oklch(60.2% 0.056 308.0);
Tailwind
colors: {
  custom: {
    50: '#ac9fb8',
    500: '#8a789b',
    950: '#000000',
  },
}
SCSS
$custom: #8a789b;
$custom-light: #ac9fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a789b",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 270.857,
    "s": 14.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60167,
    "c": 0.05611,
    "h": 308
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#8A789B
secondary
#B7BFB0
accent
#B87093
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A789B

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

Preview Lab → · Contrast checker → · Palette generator →

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