#8A7895#8A7895

#8A7895 is a mid, muted violet. Relative luminance 0.210; OKLCH L 59.9% C 0.048 H 312.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8A7895
RGBrgb(138, 120, 149)
HSLhsl(277, 12%, 53%)
HSVhsv(277, 19%, 58%)
CMYKcmyk(7.4%, 19.5%, 0%, 41.6%)
CIE-LABlab(52.96, 12.63, -13.09)
CIE-LCHlch(52.96, 18.19, 313.98°)
OKLaboklab(59.93% 0.0325 -0.0354)
OKLCHoklch(59.93% 0.048 312.6)
XYZxyz(22.6216, 21.0063, 31.2908)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7895 #839578
analogous
#7B7895 #8A7895 #957891
triadic
#8A7895 #958A78 #78958A
tetradic
#8A7895 #957B78 #839578 #789195
square
#8A7895 #957B78 #839578 #789195
split-complementary
#8A7895 #919578 #78957B
monochromatic
#4B4052 #6B5B74 #8A7895 #A89AB0 #C5BDCB

Accessibility & contrast

On white

4.04
#8A7895 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8A7895 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7895
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7895#FFFFFF#000000##000000
##8A78951.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#747D96
Deuteranopia (green-blind)
#787F94
Tritanopia (blue-blind)
#897B82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7895;
/* rgb */ color: rgb(138, 120, 149);
/* oklch */ color: oklch(59.9% 0.048 312.6);
Tailwind
colors: {
  custom: {
    50: '#ac9fb4',
    500: '#8a7895',
    950: '#000000',
  },
}
SCSS
$custom: #8a7895;
$custom-light: #ac9fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7895",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 149
  },
  "hsl": {
    "h": 277.241,
    "s": 12.033,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5993,
    "c": 0.04805,
    "h": 312.6
  },
  "luminance": 0.21006
}

Semantic roles & 50–950 ramp

primary
#8A7895
secondary
#B3BBAE
accent
#B5738C
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A7895

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

Preview Lab → · Contrast checker → · Palette generator →

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