#8A67B4#8A67B4

#8A67B4 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.1% C 0.120 H 303.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A67B4
RGBrgb(138, 103, 180)
HSLhsl(267, 34%, 55%)
HSVhsv(267, 43%, 71%)
CMYKcmyk(23.3%, 42.8%, 0%, 29.4%)
CIE-LABlab(49.98, 29.74, -35.75)
CIE-LCHlch(49.98, 46.50, 309.76°)
OKLaboklab(58.08% 0.0669 -0.0997)
OKLCHoklch(58.08% 0.12 303.9)
XYZxyz(23.5680, 18.3991, 45.4809)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67B4 #91B467
analogous
#676AB4 #8A67B4 #B167B4
triadic
#8A67B4 #B48A67 #67B48A
tetradic
#8A67B4 #B4676A #91B467 #67B4B1
square
#8A67B4 #B4676A #91B467 #67B4B1
split-complementary
#8A67B4 #B4B167 #6AB467
monochromatic
#4E356C #6B4995 #8A67B4 #AA90C8 #C9B9DC

Accessibility & contrast

On white

4.49
#8A67B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8A67B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67B4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67B4#FFFFFF#000000##000000
##8A67B41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B7
Deuteranopia (green-blind)
#5C77B2
Tritanopia (blue-blind)
#837485
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a67b4;
/* rgb */ color: rgb(138, 103, 180);
/* oklch */ color: oklch(58.1% 0.120 303.9);
Tailwind
colors: {
  custom: {
    50: '#ae93cb',
    500: '#8a67b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a67b4;
$custom-light: #ae93cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67b4",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 180
  },
  "hsl": {
    "h": 267.273,
    "s": 33.921,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.12,
    "h": 303.9
  },
  "luminance": 0.18399
}

Semantic roles & 50–950 ramp

primary
#8A67B4
secondary
#BDCBAB
accent
#CA5E99
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A67B4

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

Preview Lab → · Contrast checker → · Palette generator →

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