#8A6CC5#8A6CC5

#8A6CC5 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 59.9% C 0.134 H 297.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8A6CC5
RGBrgb(138, 108, 197)
HSLhsl(260, 43%, 60%)
HSVhsv(260, 45%, 77%)
CMYKcmyk(29.9%, 45.2%, 0%, 22.7%)
CIE-LABlab(52.02, 31.06, -42.34)
CIE-LCHlch(52.02, 52.51, 306.27°)
OKLaboklab(59.89% 0.0625 -0.1188)
OKLCHoklch(59.89% 0.134 297.8)
XYZxyz(25.9194, 20.1594, 55.3381)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CC5 #A7C56C
analogous
#6C7AC5 #8A6CC5 #B76CC5
triadic
#8A6CC5 #C58A6C #6CC58A
tetradic
#8A6CC5 #C56C7A #A7C56C #6CC5B7
square
#8A6CC5 #C56C7A #A7C56C #6CC5B7
split-complementary
#8A6CC5 #C5B76C #7AC56C
monochromatic
#4E3483 #6945AF #8A6CC5 #AD98D6 #D0C4E8

Accessibility & contrast

On white

4.17
#8A6CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8A6CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CC5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CC5#FFFFFF#000000##000000
##8A6CC51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#517CC8
Deuteranopia (green-blind)
#577BC3
Tritanopia (blue-blind)
#7E7C8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a6cc5;
/* rgb */ color: rgb(138, 108, 197);
/* oklch */ color: oklch(59.9% 0.134 297.8);
Tailwind
colors: {
  custom: {
    50: '#ae96d7',
    500: '#8a6cc5',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cc5;
$custom-light: #ae96d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cc5",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 260.225,
    "s": 43.415,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.13426,
    "h": 297.8
  },
  "luminance": 0.2016
}

Semantic roles & 50–950 ramp

primary
#8A6CC5
secondary
#CCD8B5
accent
#D355A9
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8A6CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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