#8A67AA#8A67AA

#8A67AA is a mid, moderate violet. Relative luminance 0.180; OKLCH L 57.6% C 0.107 H 307.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A67AA
RGBrgb(138, 103, 170)
HSLhsl(271, 28%, 54%)
HSVhsv(271, 39%, 67%)
CMYKcmyk(18.8%, 39.4%, 0%, 33.3%)
CIE-LABlab(49.50, 27.35, -30.67)
CIE-LCHlch(49.50, 41.09, 311.73°)
OKLaboklab(57.57% 0.0649 -0.085)
OKLCHoklch(57.57% 0.107 307.4)
XYZxyz(22.5858, 18.0062, 40.3081)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67AA #87AA67
analogous
#6867AA #8A67AA #AA67A8
triadic
#8A67AA #AA8A67 #67AA8A
tetradic
#8A67AA #AA6867 #87AA67 #67A8AA
square
#8A67AA #AA6867 #87AA67 #67A8AA
split-complementary
#8A67AA #A8AA67 #67AA68
monochromatic
#4C3661 #6B4C88 #8A67AA #A88EC0 #C6B5D6

Accessibility & contrast

On white

4.56
#8A67AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8A67AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67AA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67AA#FFFFFF#000000##000000
##8A67AA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5974AD
Deuteranopia (green-blind)
#6176A8
Tritanopia (blue-blind)
#867180
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a67aa;
/* rgb */ color: rgb(138, 103, 170);
/* oklch */ color: oklch(57.6% 0.107 307.4);
Tailwind
colors: {
  custom: {
    50: '#ad93c3',
    500: '#8a67aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a67aa;
$custom-light: #ad93c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67aa",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 170
  },
  "hsl": {
    "h": 271.343,
    "s": 28.27,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57566,
    "c": 0.10692,
    "h": 307.4
  },
  "luminance": 0.18006
}

Semantic roles & 50–950 ramp

primary
#8A67AA
secondary
#B6C5A8
accent
#C56392
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A67AA

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

Preview Lab → · Contrast checker → · Palette generator →

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