#8A6CA2#8A6CA2

#8A6CA2 is a mid, moderate violet. Relative luminance 0.187; OKLCH L 58.1% C 0.087 H 309.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A6CA2
RGBrgb(138, 108, 162)
HSLhsl(273, 23%, 53%)
HSVhsv(273, 33%, 64%)
CMYKcmyk(14.8%, 33.3%, 0%, 36.5%)
CIE-LABlab(50.38, 22.57, -24.63)
CIE-LCHlch(50.38, 33.41, 312.49°)
OKLaboklab(58.12% 0.0554 -0.0677)
OKLCHoklch(58.12% 0.087 309.3)
XYZxyz(22.3642, 18.7373, 36.6139)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CA2 #84A26C
analogous
#6F6CA2 #8A6CA2 #A26C9F
triadic
#8A6CA2 #A28A6C #6CA28A
tetradic
#8A6CA2 #A26F6C #84A26C #6C9FA2
square
#8A6CA2 #A26F6C #84A26C #6C9FA2
split-complementary
#8A6CA2 #9FA26C #6CA26F
monochromatic
#4C395A #6B5180 #8A6CA2 #A891BA #C6B7D1

Accessibility & contrast

On white

4.42
#8A6CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8A6CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CA2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CA2#FFFFFF#000000##000000
##8A6CA21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6277A4
Deuteranopia (green-blind)
#6978A0
Tritanopia (blue-blind)
#877380
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a6ca2;
/* rgb */ color: rgb(138, 108, 162);
/* oklch */ color: oklch(58.1% 0.087 309.3);
Tailwind
colors: {
  custom: {
    50: '#ad96bd',
    500: '#8a6ca2',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ca2;
$custom-light: #ad96bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ca2",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 273.333,
    "s": 22.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58115,
    "c": 0.08747,
    "h": 309.3
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#8A6CA2
secondary
#B4C1A9
accent
#BF698F
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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