#8A7EAE#8A7EAE

#8A7EAE is a light, moderate violet. Relative luminance 0.234; OKLCH L 62.2% C 0.072 H 295.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A7EAE
RGBrgb(138, 126, 174)
HSLhsl(255, 23%, 59%)
HSVhsv(255, 28%, 68%)
CMYKcmyk(20.7%, 27.6%, 0%, 31.8%)
CIE-LABlab(55.46, 14.79, -23.75)
CIE-LCHlch(55.46, 27.98, 301.91°)
OKLaboklab(62.17% 0.0314 -0.0653)
OKLCHoklch(62.17% 0.073 295.7)
XYZxyz(25.5804, 23.3808, 43.2015)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7EAE #A2AE7E
analogous
#7E8AAE #8A7EAE #A27EAE
triadic
#8A7EAE #AE8A7E #7EAE8A
tetradic
#8A7EAE #AE7E8A #A2AE7E #7EAEA2
square
#8A7EAE #AE7E8A #A2AE7E #7EAEA2
split-complementary
#8A7EAE #AEA27E #8AAE7E
monochromatic
#4F456D #6A5C93 #8A7EAE #ACA4C6 #CEC9DD

Accessibility & contrast

On white

3.70
#8A7EAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8A7EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7EAE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7EAE#FFFFFF#000000##000000
##8A7EAE1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385B0
Deuteranopia (green-blind)
#7584AD
Tritanopia (blue-blind)
#83868F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a7eae;
/* rgb */ color: rgb(138, 126, 174);
/* oklch */ color: oklch(62.2% 0.072 295.7);
Tailwind
colors: {
  custom: {
    50: '#ada3c6',
    500: '#8a7eae',
    950: '#000000',
  },
}
SCSS
$custom: #8a7eae;
$custom-light: #ada3c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7eae",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 174
  },
  "hsl": {
    "h": 255,
    "s": 22.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62174,
    "c": 0.0725,
    "h": 295.7
  },
  "luminance": 0.23381
}

Semantic roles & 50–950 ramp

primary
#8A7EAE
secondary
#C9CDBA
accent
#BF68AA
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #8A7EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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