#8A67A1#8A67A1

#8A67A1 is a mid, moderate violet. Relative luminance 0.177; OKLCH L 57.1% C 0.095 H 311.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8A67A1
RGBrgb(138, 103, 161)
HSLhsl(276, 24%, 52%)
HSVhsv(276, 36%, 63%)
CMYKcmyk(14.3%, 36%, 0%, 36.9%)
CIE-LABlab(49.10, 25.28, -26.02)
CIE-LCHlch(49.10, 36.28, 314.17°)
OKLaboklab(57.13% 0.0628 -0.0717)
OKLCHoklch(57.13% 0.095 311.2)
XYZxyz(21.7634, 17.6773, 35.9769)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67A1 #7EA167
analogous
#6D67A1 #8A67A1 #A1679B
triadic
#8A67A1 #A18A67 #67A18A
tetradic
#8A67A1 #A16D67 #7EA167 #679BA1
square
#8A67A1 #A16D67 #7EA167 #679BA1
split-complementary
#8A67A1 #9BA167 #67A16D
monochromatic
#4A3657 #6A4D7D #8A67A1 #A78DB8 #C4B3D0

Accessibility & contrast

On white

4.63
#8A67A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8A67A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A67A1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67A1#FFFFFF#000000##FFFFFF
##8A67A11.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D73A3
Deuteranopia (green-blind)
#65759F
Tritanopia (blue-blind)
#886F7C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a67a1;
/* rgb */ color: rgb(138, 103, 161);
/* oklch */ color: oklch(57.1% 0.095 311.2);
Tailwind
colors: {
  custom: {
    50: '#ad93bd',
    500: '#8a67a1',
    950: '#000000',
  },
}
SCSS
$custom: #8a67a1;
$custom-light: #ad93bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67a1",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 161
  },
  "hsl": {
    "h": 276.207,
    "s": 23.577,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5713,
    "c": 0.09529,
    "h": 311.2
  },
  "luminance": 0.17677
}

Semantic roles & 50–950 ramp

primary
#8A67A1
secondary
#AFBFA5
accent
#C0688B
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A67A1

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

Preview Lab → · Contrast checker → · Palette generator →

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