#8A67A6#8A67A6

#8A67A6 is a mid, moderate violet. Relative luminance 0.179; OKLCH L 57.4% C 0.102 H 309.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A67A6
RGBrgb(138, 103, 166)
HSLhsl(273, 26%, 53%)
HSVhsv(273, 38%, 65%)
CMYKcmyk(16.9%, 38%, 0%, 34.9%)
CIE-LABlab(49.32, 26.42, -28.61)
CIE-LCHlch(49.32, 38.95, 312.72°)
OKLaboklab(57.37% 0.064 -0.0791)
OKLCHoklch(57.37% 0.102 309)
XYZxyz(22.2131, 17.8572, 38.3456)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67A6 #83A667
analogous
#6A67A6 #8A67A6 #A667A3
triadic
#8A67A6 #A68A67 #67A68A
tetradic
#8A67A6 #A66A67 #83A667 #67A3A6
square
#8A67A6 #A66A67 #83A667 #67A3A6
split-complementary
#8A67A6 #A3A667 #67A66A
monochromatic
#4B365C #6B4D83 #8A67A6 #A88EBD #C5B4D3

Accessibility & contrast

On white

4.59
#8A67A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8A67A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A67A6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67A6#FFFFFF#000000##FFFFFF
##8A67A61.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A74A8
Deuteranopia (green-blind)
#6276A4
Tritanopia (blue-blind)
#87707F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a67a6;
/* rgb */ color: rgb(138, 103, 166);
/* oklch */ color: oklch(57.4% 0.102 309.0);
Tailwind
colors: {
  custom: {
    50: '#ad93c0',
    500: '#8a67a6',
    950: '#000000',
  },
}
SCSS
$custom: #8a67a6;
$custom-light: #ad93c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67a6",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 166
  },
  "hsl": {
    "h": 273.333,
    "s": 26.141,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.10173,
    "h": 309
  },
  "luminance": 0.17857
}

Semantic roles & 50–950 ramp

primary
#8A67A6
secondary
#B3C2A7
accent
#C3658F
background
#FAF9FB
surface
#F4F1F7
border
#CECBD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A67A6

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

Preview Lab → · Contrast checker → · Palette generator →

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