#8A7894#8A7894

#8A7894 is a mid, muted violet. Relative luminance 0.210; OKLCH L 59.9% C 0.047 H 313.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A7894
RGBrgb(138, 120, 148)
HSLhsl(279, 12%, 53%)
HSVhsv(279, 19%, 58%)
CMYKcmyk(6.8%, 18.9%, 0%, 42%)
CIE-LABlab(52.92, 12.42, -12.56)
CIE-LCHlch(52.92, 17.66, 314.68°)
OKLaboklab(59.89% 0.0322 -0.0339)
OKLCHoklch(59.89% 0.047 313.5)
XYZxyz(22.5421, 20.9745, 30.8722)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7894 #829478
analogous
#7C7894 #8A7894 #947890
triadic
#8A7894 #948A78 #78948A
tetradic
#8A7894 #947C78 #829478 #789094
square
#8A7894 #947C78 #829478 #789094
split-complementary
#8A7894 #909478 #78947C
monochromatic
#4B4051 #6B5B73 #8A7894 #A89AAF #C5BCCA

Accessibility & contrast

On white

4.04
#8A7894 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8A7894 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7894
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7894#FFFFFF#000000##000000
##8A78941.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#747D95
Deuteranopia (green-blind)
#787F93
Tritanopia (blue-blind)
#897B81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7894;
/* rgb */ color: rgb(138, 120, 148);
/* oklch */ color: oklch(59.9% 0.047 313.5);
Tailwind
colors: {
  custom: {
    50: '#ac9fb3',
    500: '#8a7894',
    950: '#000000',
  },
}
SCSS
$custom: #8a7894;
$custom-light: #ac9fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7894",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 148
  },
  "hsl": {
    "h": 278.571,
    "s": 11.57,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.04673,
    "h": 313.5
  },
  "luminance": 0.20974
}

Semantic roles & 50–950 ramp

primary
#8A7894
secondary
#B2BAAE
accent
#B4738B
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A7894

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

Preview Lab → · Contrast checker → · Palette generator →

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