#8A6AA3#8A6AA3

#8A6AA3 is a mid, moderate violet. Relative luminance 0.184; OKLCH L 57.8% C 0.092 H 309.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A6AA3
RGBrgb(138, 106, 163)
HSLhsl(274, 24%, 53%)
HSVhsv(274, 35%, 64%)
CMYKcmyk(15.3%, 35%, 0%, 36.1%)
CIE-LABlab(49.92, 23.97, -25.92)
CIE-LCHlch(49.92, 35.30, 312.76°)
OKLaboklab(57.78% 0.0587 -0.0714)
OKLCHoklch(57.78% 0.092 309.4)
XYZxyz(22.2449, 18.3559, 37.0144)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AA3 #83A36A
analogous
#6D6AA3 #8A6AA3 #A36A9F
triadic
#8A6AA3 #A38A6A #6AA38A
tetradic
#8A6AA3 #A36D6A #83A36A #6A9FA3
square
#8A6AA3 #A36D6A #83A36A #6A9FA3
split-complementary
#8A6AA3 #9FA36A #6AA36D
monochromatic
#4B385B #6B4F80 #8A6AA3 #A890BA #C5B6D2

Accessibility & contrast

On white

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

On black

4.67
#8A6AA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AA3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AA3#FFFFFF#000000##000000
##8A6AA31.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F75A5
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#87727F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a6aa3;
/* rgb */ color: rgb(138, 106, 163);
/* oklch */ color: oklch(57.8% 0.092 309.4);
Tailwind
colors: {
  custom: {
    50: '#ad95be',
    500: '#8a6aa3',
    950: '#000000',
  },
}
SCSS
$custom: #8a6aa3;
$custom-light: #ad95be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6aa3",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 163
  },
  "hsl": {
    "h": 273.684,
    "s": 23.651,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.09241,
    "h": 309.4
  },
  "luminance": 0.18356
}

Semantic roles & 50–950 ramp

primary
#8A6AA3
secondary
#B3C1A8
accent
#C0688E
background
#FAF9FB
surface
#F4F1F7
border
#CECBD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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