#8A6CC1#8A6CC1

#8A6CC1 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 59.7% C 0.129 H 298.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A6CC1
RGBrgb(138, 108, 193)
HSLhsl(261, 41%, 59%)
HSVhsv(261, 44%, 76%)
CMYKcmyk(28.5%, 44%, 0%, 24.3%)
CIE-LABlab(51.81, 30.05, -40.36)
CIE-LCHlch(51.81, 50.32, 306.66°)
OKLaboklab(59.67% 0.0619 -0.1131)
OKLCHoklch(59.67% 0.129 298.7)
XYZxyz(25.4672, 19.9785, 52.9563)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CC1 #A3C16C
analogous
#6C79C1 #8A6CC1 #B56CC1
triadic
#8A6CC1 #C18A6C #6CC18A
tetradic
#8A6CC1 #C16C79 #A3C16C #6CC1B5
square
#8A6CC1 #C16C79 #A3C16C #6CC1B5
split-complementary
#8A6CC1 #C1B56C #79C16C
monochromatic
#4F357E #6A47A9 #8A6CC1 #AC97D3 #CFC2E5

Accessibility & contrast

On white

4.20
#8A6CC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8A6CC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CC1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CC1#FFFFFF#000000##000000
##8A6CC11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#537CC4
Deuteranopia (green-blind)
#597BBF
Tritanopia (blue-blind)
#7F7B8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a6cc1;
/* rgb */ color: rgb(138, 108, 193);
/* oklch */ color: oklch(59.7% 0.129 298.7);
Tailwind
colors: {
  custom: {
    50: '#ae96d4',
    500: '#8a6cc1',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cc1;
$custom-light: #ae96d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cc1",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 193
  },
  "hsl": {
    "h": 261.176,
    "s": 40.67,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59672,
    "c": 0.12892,
    "h": 298.7
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#8A6CC1
secondary
#C9D5B4
accent
#D157A6
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8A6CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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