#8A679D#8A679D

#8A679D is a mid, moderate violet. Relative luminance 0.175; OKLCH L 56.9% C 0.090 H 313.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A679D
RGBrgb(138, 103, 157)
HSLhsl(279, 22%, 51%)
HSVhsv(279, 34%, 62%)
CMYKcmyk(12.1%, 34.4%, 0%, 38.4%)
CIE-LABlab(48.93, 24.38, -23.93)
CIE-LCHlch(48.93, 34.16, 315.53°)
OKLaboklab(56.94% 0.0618 -0.0657)
OKLCHoklch(56.94% 0.09 313.2)
XYZxyz(21.4163, 17.5385, 34.1488)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A679D #7A9D67
analogous
#6F679D #8A679D #9D6795
triadic
#8A679D #9D8A67 #679D8A
tetradic
#8A679D #9D6F67 #7A9D67 #67959D
square
#8A679D #9D6F67 #7A9D67 #67959D
split-complementary
#8A679D #959D67 #679D6F
monochromatic
#493654 #6A4E79 #8A679D #A78CB5 #C3B1CD

Accessibility & contrast

On white

4.66
#8A679D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8A679D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A679D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A679D#FFFFFF#000000##FFFFFF
##8A679D1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E729F
Deuteranopia (green-blind)
#66759B
Tritanopia (blue-blind)
#896E7B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a679d;
/* rgb */ color: rgb(138, 103, 157);
/* oklch */ color: oklch(56.9% 0.090 313.2);
Tailwind
colors: {
  custom: {
    50: '#ad93ba',
    500: '#8a679d',
    950: '#000000',
  },
}
SCSS
$custom: #8a679d;
$custom-light: #ad93ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a679d",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 157
  },
  "hsl": {
    "h": 278.889,
    "s": 21.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56944,
    "c": 0.09019,
    "h": 313.2
  },
  "luminance": 0.17538
}

Semantic roles & 50–950 ramp

primary
#8A679D
secondary
#ACBCA4
accent
#BE6A87
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A679D

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

Preview Lab → · Contrast checker → · Palette generator →

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