#8A679E#8A679E

#8A679E is a mid, moderate violet. Relative luminance 0.176; OKLCH L 57.0% C 0.091 H 312.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A679E
RGBrgb(138, 103, 158)
HSLhsl(278, 22%, 51%)
HSVhsv(278, 35%, 62%)
CMYKcmyk(12.7%, 34.8%, 0%, 38%)
CIE-LABlab(48.97, 24.60, -24.46)
CIE-LCHlch(48.97, 34.69, 315.17°)
OKLaboklab(56.99% 0.0621 -0.0672)
OKLCHoklch(56.99% 0.091 312.7)
XYZxyz(21.5020, 17.5727, 34.6003)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A679E #7B9E67
analogous
#6E679E #8A679E #9E6796
triadic
#8A679E #9E8A67 #679E8A
tetradic
#8A679E #9E6E67 #7B9E67 #67969E
square
#8A679E #9E6E67 #7B9E67 #67969E
split-complementary
#8A679E #969E67 #679E6E
monochromatic
#493655 #6A4E7A #8A679E #A78CB6 #C4B2CE

Accessibility & contrast

On white

4.65
#8A679E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A679E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A679E#FFFFFF#000000##FFFFFF
##8A679E1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E72A0
Deuteranopia (green-blind)
#66759C
Tritanopia (blue-blind)
#886E7B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a679e;
/* rgb */ color: rgb(138, 103, 158);
/* oklch */ color: oklch(57.0% 0.091 312.7);
Tailwind
colors: {
  custom: {
    50: '#ad93bb',
    500: '#8a679e',
    950: '#000000',
  },
}
SCSS
$custom: #8a679e;
$custom-light: #ad93bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a679e",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 158
  },
  "hsl": {
    "h": 278.182,
    "s": 22.088,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.09146,
    "h": 312.7
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#8A679E
secondary
#ADBDA4
accent
#BF6988
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A679E

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

Preview Lab → · Contrast checker → · Palette generator →

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