#8A7EA9#8A7EA9

#8A7EA9 is a mid, moderate violet. Relative luminance 0.232; OKLCH L 62.0% C 0.065 H 297.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A7EA9
RGBrgb(138, 126, 169)
HSLhsl(257, 20%, 58%)
HSVhsv(257, 25%, 66%)
CMYKcmyk(18.3%, 25.4%, 0%, 33.7%)
CIE-LABlab(55.27, 13.61, -21.18)
CIE-LCHlch(55.27, 25.17, 302.73°)
OKLaboklab(61.96% 0.0299 -0.058)
OKLCHoklch(61.96% 0.065 297.3)
XYZxyz(25.1020, 23.1894, 40.6820)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7EA9 #9DA97E
analogous
#7E87A9 #8A7EA9 #9F7EA9
triadic
#8A7EA9 #A98A7E #7EA98A
tetradic
#8A7EA9 #A97E87 #9DA97E #7EA99F
square
#8A7EA9 #A97E87 #9DA97E #7EA99F
split-complementary
#8A7EA9 #A99F7E #87A97E
monochromatic
#4F4568 #6B5E8C #8A7EA9 #ABA3C1 #CDC7DA

Accessibility & contrast

On white

3.72
#8A7EA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8A7EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7EA9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7EA9#FFFFFF#000000##000000
##8A7EA91.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584AB
Deuteranopia (green-blind)
#7684A8
Tritanopia (blue-blind)
#84858D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a7ea9;
/* rgb */ color: rgb(138, 126, 169);
/* oklch */ color: oklch(62.0% 0.065 297.3);
Tailwind
colors: {
  custom: {
    50: '#aca3c2',
    500: '#8a7ea9',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ea9;
$custom-light: #aca3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ea9",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 169
  },
  "hsl": {
    "h": 256.744,
    "s": 20,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61959,
    "c": 0.06528,
    "h": 297.3
  },
  "luminance": 0.2319
}

Semantic roles & 50–950 ramp

primary
#8A7EA9
secondary
#C5CAB9
accent
#BD6BA6
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8A7EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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