#8A7E9A#8A7E9A

#8A7E9A is a mid, muted violet. Relative luminance 0.227; OKLCH L 61.4% C 0.044 H 304.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8A7E9A
RGBrgb(138, 126, 154)
HSLhsl(266, 12%, 55%)
HSVhsv(266, 18%, 60%)
CMYKcmyk(10.4%, 18.2%, 0%, 39.6%)
CIE-LABlab(54.72, 10.21, -13.34)
CIE-LCHlch(54.72, 16.80, 307.44°)
OKLaboklab(61.35% 0.0249 -0.0361)
OKLCHoklch(61.35% 0.044 304.6)
XYZxyz(23.7737, 22.6581, 33.6866)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E9A #8E9A7E
analogous
#7E809A #8A7E9A #987E9A
triadic
#8A7E9A #9A8A7E #7E9A8A
tetradic
#8A7E9A #9A7E80 #8E9A7E #7E9A98
square
#8A7E9A #9A7E80 #8E9A7E #7E9A98
split-complementary
#8A7E9A #9A987E #809A7E
monochromatic
#4D4558 #6B607B #8A7E9A #A9A0B5 #C8C3D0

Accessibility & contrast

On white

3.80
#8A7E9A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8A7E9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E9A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E9A#FFFFFF#000000##000000
##8A7E9A1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839B
Deuteranopia (green-blind)
#7B8399
Tritanopia (blue-blind)
#888287
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a7e9a;
/* rgb */ color: rgb(138, 126, 154);
/* oklch */ color: oklch(61.4% 0.044 304.6);
Tailwind
colors: {
  custom: {
    50: '#aca3b7',
    500: '#8a7e9a',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e9a;
$custom-light: #aca3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e9a",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 154
  },
  "hsl": {
    "h": 265.714,
    "s": 12.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61353,
    "c": 0.04384,
    "h": 304.6
  },
  "luminance": 0.22658
}

Semantic roles & 50–950 ramp

primary
#8A7E9A
secondary
#BBC0B4
accent
#B57399
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #8A7E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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