#8A67C6#8A67C6

#8A67C6 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.1% C 0.144 H 298.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A67C6
RGBrgb(138, 103, 198)
HSLhsl(262, 45%, 59%)
HSVhsv(262, 48%, 78%)
CMYKcmyk(30.3%, 48%, 0%, 22.4%)
CIE-LABlab(50.90, 34.22, -44.68)
CIE-LCHlch(50.90, 56.28, 307.45°)
OKLaboklab(59.07% 0.0695 -0.1256)
OKLCHoklch(59.07% 0.144 298.9)
XYZxyz(25.5221, 19.1808, 55.7728)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67C6 #A3C667
analogous
#6774C6 #8A67C6 #BA67C6
triadic
#8A67C6 #C68A67 #67C68A
tetradic
#8A67C6 #C66774 #A3C667 #67C6BA
square
#8A67C6 #C66774 #A3C667 #67C6BA
split-complementary
#8A67C6 #C6BA67 #74C667
monochromatic
#4F3182 #6A41AE #8A67C6 #AC94D7 #CFC0E7

Accessibility & contrast

On white

4.34
#8A67C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8A67C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67C6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67C6#FFFFFF#000000##000000
##8A67C61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4979C9
Deuteranopia (green-blind)
#5178C4
Tritanopia (blue-blind)
#7E798D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a67c6;
/* rgb */ color: rgb(138, 103, 198);
/* oklch */ color: oklch(59.1% 0.144 298.9);
Tailwind
colors: {
  custom: {
    50: '#af93d8',
    500: '#8a67c6',
    950: '#000000',
  },
}
SCSS
$custom: #8a67c6;
$custom-light: #af93d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67c6",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 198
  },
  "hsl": {
    "h": 262.105,
    "s": 45.455,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5907,
    "c": 0.14358,
    "h": 298.9
  },
  "luminance": 0.19181
}

Semantic roles & 50–950 ramp

primary
#8A67C6
secondary
#C9D7B2
accent
#D553A5
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8A67C6

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

Preview Lab → · Contrast checker → · Palette generator →

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