#8A7EA0#8A7EA0

#8A7EA0 is a mid, muted violet. Relative luminance 0.229; OKLCH L 61.6% C 0.052 H 301.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A7EA0
RGBrgb(138, 126, 160)
HSLhsl(261, 15%, 56%)
HSVhsv(261, 21%, 63%)
CMYKcmyk(13.8%, 21.2%, 0%, 37.3%)
CIE-LABlab(54.93, 11.54, -16.49)
CIE-LCHlch(54.93, 20.13, 304.99°)
OKLaboklab(61.59% 0.027 -0.0449)
OKLCHoklch(61.59% 0.052 301)
XYZxyz(24.2860, 22.8630, 36.3844)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7EA0 #94A07E
analogous
#7E83A0 #8A7EA0 #9B7EA0
triadic
#8A7EA0 #A08A7E #7EA08A
tetradic
#8A7EA0 #A07E83 #94A07E #7EA09B
square
#8A7EA0 #A07E83 #94A07E #7EA09B
split-complementary
#8A7EA0 #A09B7E #83A07E
monochromatic
#4E455E #6B5F81 #8A7EA0 #AAA1BA #CAC4D4

Accessibility & contrast

On white

3.77
#8A7EA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8A7EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7EA0
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7EA0#FFFFFF#000000##000000
##8A7EA01.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7883A1
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#86838A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a7ea0;
/* rgb */ color: rgb(138, 126, 160);
/* oklch */ color: oklch(61.6% 0.052 301.0);
Tailwind
colors: {
  custom: {
    50: '#aca3bc',
    500: '#8a7ea0',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ea0;
$custom-light: #aca3bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ea0",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 160
  },
  "hsl": {
    "h": 261.176,
    "s": 15.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.05235,
    "h": 301
  },
  "luminance": 0.22863
}

Semantic roles & 50–950 ramp

primary
#8A7EA0
secondary
#BFC4B6
accent
#B8709F
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8A7EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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