#8E8AA2#8E8AA2

#8E8AA2 is a light, muted violet. Relative luminance 0.265; OKLCH L 64.5% C 0.036 H 293.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8E8AA2
RGBrgb(142, 138, 162)
HSLhsl(250, 11%, 59%)
HSVhsv(250, 15%, 64%)
CMYKcmyk(12.3%, 14.8%, 0%, 36.5%)
CIE-LABlab(58.54, 6.42, -12.15)
CIE-LCHlch(58.54, 13.74, 297.85°)
OKLaboklab(64.5% 0.014 -0.0329)
OKLCHoklch(64.5% 0.036 293)
XYZxyz(26.7641, 26.5362, 37.8874)
Luminance0.2654 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8AA2 #9EA28A
analogous
#8A92A2 #8E8AA2 #9A8AA2
triadic
#8E8AA2 #A28E8A #8AA28E
tetradic
#8E8AA2 #A28A92 #9EA28A #8AA29A
square
#8E8AA2 #A28A92 #9EA28A #8AA29A
split-complementary
#8E8AA2 #A29A8A #92A28A
monochromatic
#524F63 #6E6A85 #8E8AA2 #AFACBD #D0CED8

Accessibility & contrast

On white

3.33
#8E8AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#8E8AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8AA2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8AA2#FFFFFF#000000##000000
##8E8AA21.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#858DA3
Deuteranopia (green-blind)
#858CA1
Tritanopia (blue-blind)
#8A8E92
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8e8aa2;
/* rgb */ color: rgb(142, 138, 162);
/* oklch */ color: oklch(64.5% 0.036 293.0);
Tailwind
colors: {
  custom: {
    50: '#afacbd',
    500: '#8e8aa2',
    950: '#000000',
  },
}
SCSS
$custom: #8e8aa2;
$custom-light: #afacbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8aa2",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 162
  },
  "hsl": {
    "h": 250,
    "s": 11.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64501,
    "c": 0.0357,
    "h": 293
  },
  "luminance": 0.26536
}

Semantic roles & 50–950 ramp

primary
#8E8AA2
secondary
#C7C9BF
accent
#B473AA
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8E8AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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