#8A6BC0#8A6BC0

#8A6BC0 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.4% C 0.129 H 299.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A6BC0
RGBrgb(138, 107, 192)
HSLhsl(262, 40%, 59%)
HSVhsv(262, 44%, 75%)
CMYKcmyk(28.1%, 44.3%, 0%, 24.7%)
CIE-LABlab(51.52, 30.38, -40.25)
CIE-LCHlch(51.52, 50.42, 307.04°)
OKLaboklab(59.44% 0.0632 -0.1127)
OKLCHoklch(59.44% 0.129 299.3)
XYZxyz(25.2511, 19.7243, 52.3358)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BC0 #A1C06B
analogous
#6B76C0 #8A6BC0 #B46BC0
triadic
#8A6BC0 #C08A6B #6BC08A
tetradic
#8A6BC0 #C06B76 #A1C06B #6BC0B4
square
#8A6BC0 #C06B76 #A1C06B #6BC0B4
split-complementary
#8A6BC0 #C0B46B #76C06B
monochromatic
#4F357C #6A47A7 #8A6BC0 #AC96D2 #CEC1E5

Accessibility & contrast

On white

4.25
#8A6BC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8A6BC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BC0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BC0#FFFFFF#000000##000000
##8A6BC01.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC3
Deuteranopia (green-blind)
#597ABE
Tritanopia (blue-blind)
#7F7A8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a6bc0;
/* rgb */ color: rgb(138, 107, 192);
/* oklch */ color: oklch(59.4% 0.129 299.3);
Tailwind
colors: {
  custom: {
    50: '#ae96d3',
    500: '#8a6bc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bc0;
$custom-light: #ae96d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bc0",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 192
  },
  "hsl": {
    "h": 261.882,
    "s": 40.284,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59438,
    "c": 0.12921,
    "h": 299.3
  },
  "luminance": 0.19724
}

Semantic roles & 50–950 ramp

primary
#8A6BC0
secondary
#C8D4B3
accent
#D058A4
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8A6BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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