#8A6CA8#8A6CA8

#8A6CA8 is a mid, moderate violet. Relative luminance 0.190; OKLCH L 58.4% C 0.095 H 306.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A6CA8
RGBrgb(138, 108, 168)
HSLhsl(270, 26%, 54%)
HSVhsv(270, 36%, 66%)
CMYKcmyk(17.9%, 35.7%, 0%, 34.1%)
CIE-LABlab(50.64, 23.95, -27.74)
CIE-LCHlch(50.64, 36.65, 310.81°)
OKLaboklab(58.4% 0.0569 -0.0766)
OKLCHoklch(58.4% 0.095 306.6)
XYZxyz(22.9103, 18.9557, 39.4901)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CA8 #8AA86C
analogous
#6C6CA8 #8A6CA8 #A86CA8
triadic
#8A6CA8 #A88A6C #6CA88A
tetradic
#8A6CA8 #A86C6C #8AA86C #6CA8A8
square
#8A6CA8 #A86C6C #8AA86C #6CA8A8
split-complementary
#8A6CA8 #A8A86C #6CA86C
monochromatic
#4D3960 #6B5087 #8A6CA8 #A992BF #C7B9D6

Accessibility & contrast

On white

4.38
#8A6CA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A6CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CA8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CA8#FFFFFF#000000##000000
##8A6CA81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6077AA
Deuteranopia (green-blind)
#6679A6
Tritanopia (blue-blind)
#867582
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a6ca8;
/* rgb */ color: rgb(138, 108, 168);
/* oklch */ color: oklch(58.4% 0.095 306.6);
Tailwind
colors: {
  custom: {
    50: '#ad96c2',
    500: '#8a6ca8',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ca8;
$custom-light: #ad96c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ca8",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 168
  },
  "hsl": {
    "h": 270,
    "s": 25.641,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58395,
    "c": 0.09541,
    "h": 306.6
  },
  "luminance": 0.18956
}

Semantic roles & 50–950 ramp

primary
#8A6CA8
secondary
#B8C5AB
accent
#C26694
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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