#8A679F#8A679F

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

Color values

HEX#8A679F
RGBrgb(138, 103, 159)
HSLhsl(278, 23%, 51%)
HSVhsv(278, 35%, 62%)
CMYKcmyk(13.2%, 35.2%, 0%, 37.6%)
CIE-LABlab(49.02, 24.83, -24.98)
CIE-LCHlch(49.02, 35.22, 314.82°)
OKLaboklab(57.04% 0.0623 -0.0687)
OKLCHoklch(57.04% 0.093 312.2)
XYZxyz(21.5884, 17.6073, 35.0554)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A679F #7C9F67
analogous
#6E679F #8A679F #9F6798
triadic
#8A679F #9F8A67 #679F8A
tetradic
#8A679F #9F6E67 #7C9F67 #67989F
square
#8A679F #9F6E67 #7C9F67 #67989F
split-complementary
#8A679F #989F67 #679F6E
monochromatic
#4A3656 #6A4E7B #8A679F #A78DB7 #C4B2CE

Accessibility & contrast

On white

4.64
#8A679F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8A679F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A679F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A679F#FFFFFF#000000##FFFFFF
##8A679F1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D73A1
Deuteranopia (green-blind)
#65759D
Tritanopia (blue-blind)
#886F7C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a679f;
/* rgb */ color: rgb(138, 103, 159);
/* oklch */ color: oklch(57.0% 0.093 312.2);
Tailwind
colors: {
  custom: {
    50: '#ad93bb',
    500: '#8a679f',
    950: '#000000',
  },
}
SCSS
$custom: #8a679f;
$custom-light: #ad93bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a679f",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 159
  },
  "hsl": {
    "h": 277.5,
    "s": 22.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57036,
    "c": 0.09273,
    "h": 312.2
  },
  "luminance": 0.17607
}

Semantic roles & 50–950 ramp

primary
#8A679F
secondary
#AEBDA5
accent
#BF6989
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A679F

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

Preview Lab → · Contrast checker → · Palette generator →

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