#8A709B#8A709B

#8A709B is a mid, moderate violet. Relative luminance 0.194; OKLCH L 58.6% C 0.071 H 311.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8A709B
RGBrgb(138, 112, 155)
HSLhsl(276, 18%, 52%)
HSVhsv(276, 28%, 61%)
CMYKcmyk(11%, 27.7%, 0%, 39.2%)
CIE-LABlab(51.10, 18.64, -19.42)
CIE-LCHlch(51.10, 26.92, 313.83°)
OKLaboklab(58.58% 0.0471 -0.053)
OKLCHoklch(58.58% 0.071 311.6)
XYZxyz(22.1908, 19.3584, 33.5715)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A709B #819B70
analogous
#75709B #8A709B #9B7096
triadic
#8A709B #9B8A70 #709B8A
tetradic
#8A709B #9B7570 #819B70 #70969B
square
#8A709B #9B7570 #819B70 #70969B
split-complementary
#8A709B #969B70 #709B75
monochromatic
#4B3C55 #6B5579 #8A709B #A794B4 #C5B8CD

Accessibility & contrast

On white

4.31
#8A709B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8A709B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A709B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A709B#FFFFFF#000000##000000
##8A709B1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#69789D
Deuteranopia (green-blind)
#6F7A9A
Tritanopia (blue-blind)
#88757F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a709b;
/* rgb */ color: rgb(138, 112, 155);
/* oklch */ color: oklch(58.6% 0.071 311.6);
Tailwind
colors: {
  custom: {
    50: '#ac99b8',
    500: '#8a709b',
    950: '#000000',
  },
}
SCSS
$custom: #8a709b;
$custom-light: #ac99b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a709b",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 155
  },
  "hsl": {
    "h": 276.279,
    "s": 17.695,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58576,
    "c": 0.0709,
    "h": 311.6
  },
  "luminance": 0.19358
}

Semantic roles & 50–950 ramp

primary
#8A709B
secondary
#B1BDAA
accent
#BA6D8C
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A709B

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

Preview Lab → · Contrast checker → · Palette generator →

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