#8A7E94#8A7E94

#8A7E94 is a mid, muted violet. Relative luminance 0.225; OKLCH L 61.1% C 0.036 H 309.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A7E94
RGBrgb(138, 126, 148)
HSLhsl(273, 9%, 54%)
HSVhsv(273, 15%, 58%)
CMYKcmyk(6.8%, 14.9%, 0%, 42%)
CIE-LABlab(54.52, 8.92, -10.16)
CIE-LCHlch(54.52, 13.52, 311.28°)
OKLaboklab(61.13% 0.0227 -0.0273)
OKLCHoklch(61.13% 0.036 309.7)
XYZxyz(23.2865, 22.4632, 31.1203)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E94 #88947E
analogous
#7F7E94 #8A7E94 #947E93
triadic
#8A7E94 #948A7E #7E948A
tetradic
#8A7E94 #947F7E #88947E #7E9394
square
#8A7E94 #947F7E #88947E #7E9394
split-complementary
#8A7E94 #93947E #7E947F
monochromatic
#4C4553 #6B6074 #8A7E94 #A89FB0 #C7C1CB

Accessibility & contrast

On white

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

On black

5.49
#8A7E94 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E94
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E94#FFFFFF#000000##000000
##8A7E941.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8295
Deuteranopia (green-blind)
#7D8393
Tritanopia (blue-blind)
#898185
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a7e94;
/* rgb */ color: rgb(138, 126, 148);
/* oklch */ color: oklch(61.1% 0.036 309.7);
Tailwind
colors: {
  custom: {
    50: '#aca3b3',
    500: '#8a7e94',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e94;
$custom-light: #aca3b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e94",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 148
  },
  "hsl": {
    "h": 272.727,
    "s": 9.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61128,
    "c": 0.03554,
    "h": 309.7
  },
  "luminance": 0.22463
}

Semantic roles & 50–950 ramp

primary
#8A7E94
secondary
#B6BCB2
accent
#B27591
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #8A7E94

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

Preview Lab → · Contrast checker → · Palette generator →

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