#8A67B9#8A67B9

#8A67B9 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.3% C 0.127 H 302.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A67B9
RGBrgb(138, 103, 185)
HSLhsl(266, 37%, 56%)
HSVhsv(266, 44%, 73%)
CMYKcmyk(25.4%, 44.3%, 0%, 27.5%)
CIE-LABlab(50.22, 30.96, -38.26)
CIE-LCHlch(50.22, 49.22, 308.98°)
OKLaboklab(58.35% 0.0677 -0.1069)
OKLCHoklch(58.35% 0.127 302.3)
XYZxyz(24.0865, 18.6065, 48.2120)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67B9 #96B967
analogous
#676DB9 #8A67B9 #B367B9
triadic
#8A67B9 #B98A67 #67B98A
tetradic
#8A67B9 #B9676D #96B967 #67B9B3
square
#8A67B9 #B9676D #96B967 #67B9B3
split-complementary
#8A67B9 #B9B367 #6DB967
monochromatic
#4E3471 #6B489B #8A67B9 #AA91CC #CBBBE0

Accessibility & contrast

On white

4.45
#8A67B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A67B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67B9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67B9#FFFFFF#000000##000000
##8A67B91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5177BC
Deuteranopia (green-blind)
#5977B7
Tritanopia (blue-blind)
#827587
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a67b9;
/* rgb */ color: rgb(138, 103, 185);
/* oklch */ color: oklch(58.3% 0.127 302.3);
Tailwind
colors: {
  custom: {
    50: '#ae93ce',
    500: '#8a67b9',
    950: '#000000',
  },
}
SCSS
$custom: #8a67b9;
$custom-light: #ae93ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67b9",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 185
  },
  "hsl": {
    "h": 265.61,
    "s": 36.937,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58345,
    "c": 0.12657,
    "h": 302.3
  },
  "luminance": 0.18607
}

Semantic roles & 50–950 ramp

primary
#8A67B9
secondary
#C0CFAD
accent
#CD5B9C
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A67B9

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

Preview Lab → · Contrast checker → · Palette generator →

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