#8A6CB4#8A6CB4

#8A6CB4 is a mid, moderate violet. Relative luminance 0.194; OKLCH L 59.0% C 0.111 H 302.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A6CB4
RGBrgb(138, 108, 180)
HSLhsl(265, 32%, 56%)
HSVhsv(265, 40%, 71%)
CMYKcmyk(23.3%, 40%, 0%, 29.4%)
CIE-LABlab(51.18, 26.82, -33.86)
CIE-LCHlch(51.18, 43.20, 308.37°)
OKLaboklab(58.99% 0.0596 -0.0942)
OKLCHoklch(58.99% 0.111 302.3)
XYZxyz(24.0802, 19.4237, 45.6517)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CB4 #96B46C
analogous
#6C72B4 #8A6CB4 #AE6CB4
triadic
#8A6CB4 #B48A6C #6CB48A
tetradic
#8A6CB4 #B46C72 #96B46C #6CB4AE
square
#8A6CB4 #B46C72 #96B46C #6CB4AE
split-complementary
#8A6CB4 #B4AE6C #72B46C
monochromatic
#4E386E #6B4D96 #8A6CB4 #AA95C9 #CBBDDD

Accessibility & contrast

On white

4.30
#8A6CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8A6CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CB4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CB4#FFFFFF#000000##000000
##8A6CB41.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B7
Deuteranopia (green-blind)
#617AB2
Tritanopia (blue-blind)
#837887
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a6cb4;
/* rgb */ color: rgb(138, 108, 180);
/* oklch */ color: oklch(59.0% 0.111 302.3);
Tailwind
colors: {
  custom: {
    50: '#ad96cb',
    500: '#8a6cb4',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cb4;
$custom-light: #ad96cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cb4",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 180
  },
  "hsl": {
    "h": 265,
    "s": 32.432,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58986,
    "c": 0.11147,
    "h": 302.3
  },
  "luminance": 0.19424
}

Semantic roles & 50–950 ramp

primary
#8A6CB4
secondary
#C0CDAF
accent
#C95F9D
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A6CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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