#8A67AC#8A67AC

#8A67AC is a mid, moderate violet. Relative luminance 0.181; OKLCH L 57.7% C 0.110 H 306.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A67AC
RGBrgb(138, 103, 172)
HSLhsl(270, 29%, 54%)
HSVhsv(270, 40%, 67%)
CMYKcmyk(19.8%, 40.1%, 0%, 32.5%)
CIE-LABlab(49.60, 27.82, -31.69)
CIE-LCHlch(49.60, 42.17, 311.28°)
OKLaboklab(57.67% 0.0653 -0.0879)
OKLCHoklch(57.67% 0.11 306.6)
XYZxyz(22.7764, 18.0825, 41.3121)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67AC #89AC67
analogous
#6867AC #8A67AC #AC67AC
triadic
#8A67AC #AC8A67 #67AC8A
tetradic
#8A67AC #AC6867 #89AC67 #67ACAC
square
#8A67AC #AC6867 #89AC67 #67ACAC
split-complementary
#8A67AC #ACAC67 #67AC68
monochromatic
#4D3663 #6B4C8A #8A67AC #A88FC2 #C7B6D7

Accessibility & contrast

On white

4.55
#8A67AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8A67AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67AC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67AC#FFFFFF#000000##000000
##8A67AC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5875AF
Deuteranopia (green-blind)
#6076AA
Tritanopia (blue-blind)
#857281
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a67ac;
/* rgb */ color: rgb(138, 103, 172);
/* oklch */ color: oklch(57.7% 0.110 306.6);
Tailwind
colors: {
  custom: {
    50: '#ad93c5',
    500: '#8a67ac',
    950: '#000000',
  },
}
SCSS
$custom: #8a67ac;
$custom-light: #ad93c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67ac",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 172
  },
  "hsl": {
    "h": 270.435,
    "s": 29.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57666,
    "c": 0.10953,
    "h": 306.6
  },
  "luminance": 0.18082
}

Semantic roles & 50–950 ramp

primary
#8A67AC
secondary
#B7C6A9
accent
#C66293
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A67AC

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

Preview Lab → · Contrast checker → · Palette generator →

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