#8A7397#8A7397

#8A7397 is a mid, moderate violet. Relative luminance 0.199; OKLCH L 59.0% C 0.060 H 313.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A7397
RGBrgb(138, 115, 151)
HSLhsl(278, 15%, 52%)
HSVhsv(278, 24%, 59%)
CMYKcmyk(8.6%, 23.8%, 0%, 40.8%)
CIE-LABlab(51.72, 16.00, -16.13)
CIE-LCHlch(51.72, 22.72, 314.76°)
OKLaboklab(59% 0.0411 -0.0438)
OKLCHoklch(59% 0.06 313.2)
XYZxyz(22.1970, 19.8994, 31.9438)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7397 #809773
analogous
#787397 #8A7397 #977392
triadic
#8A7397 #978A73 #73978A
tetradic
#8A7397 #977873 #809773 #739297
square
#8A7397 #977873 #809773 #739297
split-complementary
#8A7397 #929773 #739778
monochromatic
#4B3D52 #6B5776 #8A7397 #A796B1 #C5B9CB

Accessibility & contrast

On white

4.22
#8A7397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8A7397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7397
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7397#FFFFFF#000000##000000
##8A73971.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7A99
Deuteranopia (green-blind)
#737C96
Tritanopia (blue-blind)
#89777F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7397;
/* rgb */ color: rgb(138, 115, 151);
/* oklch */ color: oklch(59.0% 0.060 313.2);
Tailwind
colors: {
  custom: {
    50: '#ac9bb5',
    500: '#8a7397',
    950: '#000000',
  },
}
SCSS
$custom: #8a7397;
$custom-light: #ac9bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7397",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 151
  },
  "hsl": {
    "h": 278.333,
    "s": 14.754,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.06006,
    "h": 313.2
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#8A7397
secondary
#B1BBAB
accent
#B8708A
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A7397

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

Preview Lab → · Contrast checker → · Palette generator →

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