#8A7E95#8A7E95

#8A7E95 is a mid, muted violet. Relative luminance 0.225; OKLCH L 61.2% C 0.037 H 308.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A7E95
RGBrgb(138, 126, 149)
HSLhsl(271, 10%, 54%)
HSVhsv(271, 15%, 58%)
CMYKcmyk(7.4%, 15.4%, 0%, 41.6%)
CIE-LABlab(54.55, 9.13, -10.70)
CIE-LCHlch(54.55, 14.06, 310.50°)
OKLaboklab(61.16% 0.0231 -0.0288)
OKLCHoklch(61.16% 0.037 308.7)
XYZxyz(23.3660, 22.4950, 31.5390)
Luminance0.2250 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E95 #89957E
analogous
#7F7E95 #8A7E95 #957E95
triadic
#8A7E95 #958A7E #7E958A
tetradic
#8A7E95 #957F7E #89957E #7E9595
square
#8A7E95 #957F7E #89957E #7E9595
split-complementary
#8A7E95 #95957E #7E957F
monochromatic
#4D4554 #6B6075 #8A7E95 #A8A0B1 #C7C1CC

Accessibility & contrast

On white

3.82
#8A7E95 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8A7E95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E95
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E95#FFFFFF#000000##000000
##8A7E951.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8296
Deuteranopia (green-blind)
#7D8394
Tritanopia (blue-blind)
#898186
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a7e95;
/* rgb */ color: rgb(138, 126, 149);
/* oklch */ color: oklch(61.2% 0.037 308.7);
Tailwind
colors: {
  custom: {
    50: '#aca3b4',
    500: '#8a7e95',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e95;
$custom-light: #aca3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e95",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 149
  },
  "hsl": {
    "h": 271.304,
    "s": 9.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61164,
    "c": 0.03691,
    "h": 308.7
  },
  "luminance": 0.22495
}

Semantic roles & 50–950 ramp

primary
#8A7E95
secondary
#B7BCB2
accent
#B37593
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #8A7E95

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

Preview Lab → · Contrast checker → · Palette generator →

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