#8A6EC0#8A6EC0

#8A6EC0 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.0% C 0.124 H 298.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A6EC0
RGBrgb(138, 110, 192)
HSLhsl(260, 39%, 59%)
HSVhsv(260, 43%, 75%)
CMYKcmyk(28.1%, 42.7%, 0%, 24.7%)
CIE-LABlab(52.24, 28.62, -39.11)
CIE-LCHlch(52.24, 48.47, 306.20°)
OKLaboklab(59.98% 0.059 -0.1094)
OKLCHoklch(59.98% 0.124 298.3)
XYZxyz(25.5694, 20.3607, 52.4419)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EC0 #A4C06E
analogous
#6E7BC0 #8A6EC0 #B36EC0
triadic
#8A6EC0 #C08A6E #6EC08A
tetradic
#8A6EC0 #C06E7B #A4C06E #6EC0B3
square
#8A6EC0 #C06E7B #A4C06E #6EC0B3
split-complementary
#8A6EC0 #C0B36E #7BC06E
monochromatic
#4F367D #6949A8 #8A6EC0 #AC99D3 #CFC3E5

Accessibility & contrast

On white

4.14
#8A6EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8A6EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EC0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EC0#FFFFFF#000000##000000
##8A6EC01.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#577DC3
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#7F7C8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a6ec0;
/* rgb */ color: rgb(138, 110, 192);
/* oklch */ color: oklch(60.0% 0.124 298.3);
Tailwind
colors: {
  custom: {
    50: '#ae98d3',
    500: '#8a6ec0',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ec0;
$custom-light: #ae98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ec0",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 192
  },
  "hsl": {
    "h": 260.488,
    "s": 39.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.1243,
    "h": 298.3
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#8A6EC0
secondary
#CAD5B5
accent
#CF58A7
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8A6EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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