#8A6AA2#8A6AA2

#8A6AA2 is a mid, moderate violet. Relative luminance 0.183; OKLCH L 57.7% C 0.091 H 309.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A6AA2
RGBrgb(138, 106, 162)
HSLhsl(274, 23%, 53%)
HSVhsv(274, 35%, 64%)
CMYKcmyk(14.8%, 34.6%, 0%, 36.5%)
CIE-LABlab(49.88, 23.74, -25.40)
CIE-LCHlch(49.88, 34.77, 313.07°)
OKLaboklab(57.74% 0.0584 -0.0699)
OKLCHoklch(57.74% 0.091 309.9)
XYZxyz(22.1557, 18.3202, 36.5444)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AA2 #82A26A
analogous
#6E6AA2 #8A6AA2 #A26A9E
triadic
#8A6AA2 #A28A6A #6AA28A
tetradic
#8A6AA2 #A26E6A #82A26A #6A9EA2
square
#8A6AA2 #A26E6A #82A26A #6A9EA2
split-complementary
#8A6AA2 #9EA26A #6AA26E
monochromatic
#4B385A #6B4F7F #8A6AA2 #A890BA #C5B5D1

Accessibility & contrast

On white

4.50
#8A6AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8A6AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AA2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AA2#FFFFFF#000000##000000
##8A6AA21.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6075A4
Deuteranopia (green-blind)
#6777A0
Tritanopia (blue-blind)
#87727F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a6aa2;
/* rgb */ color: rgb(138, 106, 162);
/* oklch */ color: oklch(57.7% 0.091 309.9);
Tailwind
colors: {
  custom: {
    50: '#ad95bd',
    500: '#8a6aa2',
    950: '#000000',
  },
}
SCSS
$custom: #8a6aa2;
$custom-light: #ad95bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6aa2",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 162
  },
  "hsl": {
    "h": 274.286,
    "s": 23.14,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57737,
    "c": 0.0911,
    "h": 309.9
  },
  "luminance": 0.1832
}

Semantic roles & 50–950 ramp

primary
#8A6AA2
secondary
#B2C0A8
accent
#C0688E
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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