#8A709D#8A709D

#8A709D is a mid, moderate violet. Relative luminance 0.194; OKLCH L 58.7% C 0.074 H 310.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A709D
RGBrgb(138, 112, 157)
HSLhsl(275, 19%, 53%)
HSVhsv(275, 29%, 62%)
CMYKcmyk(12.1%, 28.7%, 0%, 38.4%)
CIE-LABlab(51.18, 19.08, -20.47)
CIE-LCHlch(51.18, 27.98, 312.99°)
OKLaboklab(58.66% 0.0477 -0.0559)
OKLCHoklch(58.66% 0.074 310.5)
XYZxyz(22.3601, 19.4262, 34.4634)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A709D #839D70
analogous
#74709D #8A709D #9D7099
triadic
#8A709D #9D8A70 #709D8A
tetradic
#8A709D #9D7470 #839D70 #70999D
square
#8A709D #9D7470 #839D70 #70999D
split-complementary
#8A709D #999D70 #709D74
monochromatic
#4B3C57 #6B547B #8A709D #A894B6 #C5B9CF

Accessibility & contrast

On white

4.30
#8A709D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8A709D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A709D
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A709D#FFFFFF#000000##000000
##8A709D1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#69799F
Deuteranopia (green-blind)
#6E7A9C
Tritanopia (blue-blind)
#887680
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a709d;
/* rgb */ color: rgb(138, 112, 157);
/* oklch */ color: oklch(58.7% 0.074 310.5);
Tailwind
colors: {
  custom: {
    50: '#ac99ba',
    500: '#8a709d',
    950: '#000000',
  },
}
SCSS
$custom: #8a709d;
$custom-light: #ac99ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a709d",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 157
  },
  "hsl": {
    "h": 274.667,
    "s": 18.672,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58662,
    "c": 0.07353,
    "h": 310.5
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#8A709D
secondary
#B3BEAB
accent
#BB6C8E
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A709D

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

Preview Lab → · Contrast checker → · Palette generator →

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