#8A7399#8A7399

#8A7399 is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.1% C 0.063 H 311.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8A7399
RGBrgb(138, 115, 153)
HSLhsl(276, 16%, 53%)
HSVhsv(276, 25%, 60%)
CMYKcmyk(9.8%, 24.8%, 0%, 40%)
CIE-LABlab(51.80, 16.43, -17.19)
CIE-LCHlch(51.80, 23.78, 313.72°)
OKLaboklab(59.08% 0.0418 -0.0467)
OKLCHoklch(59.08% 0.063 311.8)
XYZxyz(22.3608, 19.9649, 32.8064)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7399 #829973
analogous
#777399 #8A7399 #997395
triadic
#8A7399 #998A73 #73998A
tetradic
#8A7399 #997773 #829973 #739599
square
#8A7399 #997773 #829973 #739599
split-complementary
#8A7399 #959973 #739977
monochromatic
#4B3D54 #6B5778 #8A7399 #A896B3 #C5BACD

Accessibility & contrast

On white

4.21
#8A7399 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8A7399 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7399
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7399#FFFFFF#000000##000000
##8A73991.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7A9B
Deuteranopia (green-blind)
#727C98
Tritanopia (blue-blind)
#897880
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7399;
/* rgb */ color: rgb(138, 115, 153);
/* oklch */ color: oklch(59.1% 0.063 311.8);
Tailwind
colors: {
  custom: {
    50: '#ac9bb7',
    500: '#8a7399',
    950: '#000000',
  },
}
SCSS
$custom: #8a7399;
$custom-light: #ac9bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7399",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 153
  },
  "hsl": {
    "h": 276.316,
    "s": 15.702,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59084,
    "c": 0.06268,
    "h": 311.8
  },
  "luminance": 0.19965
}

Semantic roles & 50–950 ramp

primary
#8A7399
secondary
#B2BCAC
accent
#B86F8C
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A7399

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

Preview Lab → · Contrast checker → · Palette generator →

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