#8A7FAE#8A7FAE

#8A7FAE is a light, moderate violet. Relative luminance 0.236; OKLCH L 62.4% C 0.071 H 295.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8A7FAE
RGBrgb(138, 127, 174)
HSLhsl(254, 22%, 59%)
HSVhsv(254, 27%, 68%)
CMYKcmyk(20.7%, 27%, 0%, 31.8%)
CIE-LABlab(55.72, 14.21, -23.35)
CIE-LCHlch(55.72, 27.33, 301.32°)
OKLaboklab(62.38% 0.0299 -0.0642)
OKLCHoklch(62.38% 0.071 295)
XYZxyz(25.7089, 23.6378, 43.2443)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FAE #A3AE7F
analogous
#7F8CAE #8A7FAE #A27FAE
triadic
#8A7FAE #AE8A7F #7FAE8A
tetradic
#8A7FAE #AE7F8C #A3AE7F #7FAEA2
square
#8A7FAE #AE7F8C #A3AE7F #7FAEA2
split-complementary
#8A7FAE #AEA27F #8CAE7F
monochromatic
#4F456D #6A5D93 #8A7FAE #ACA4C6 #CFCADD

Accessibility & contrast

On white

3.67
#8A7FAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8A7FAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FAE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FAE#FFFFFF#000000##000000
##8A7FAE1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a7fae;
/* rgb */ color: rgb(138, 127, 174);
/* oklch */ color: oklch(62.4% 0.071 295.0);
Tailwind
colors: {
  custom: {
    50: '#aca4c6',
    500: '#8a7fae',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fae;
$custom-light: #aca4c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fae",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 174
  },
  "hsl": {
    "h": 254.043,
    "s": 22.488,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62375,
    "c": 0.07083,
    "h": 295
  },
  "luminance": 0.23638
}

Semantic roles & 50–950 ramp

primary
#8A7FAE
secondary
#C9CEBB
accent
#BF69AB
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #8A7FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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