#8A6DA3#8A6DA3

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

Color values

HEX#8A6DA3
RGBrgb(138, 109, 163)
HSLhsl(272, 23%, 53%)
HSVhsv(272, 33%, 64%)
CMYKcmyk(15.3%, 33.1%, 0%, 36.1%)
CIE-LABlab(50.67, 22.21, -24.77)
CIE-LCHlch(50.67, 33.26, 311.88°)
OKLaboklab(58.35% 0.0541 -0.0681)
OKLCHoklch(58.35% 0.087 308.4)
XYZxyz(22.5595, 18.9851, 37.1193)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DA3 #86A36D
analogous
#6F6DA3 #8A6DA3 #A36DA1
triadic
#8A6DA3 #A38A6D #6DA38A
tetradic
#8A6DA3 #A36F6D #86A36D #6DA1A3
square
#8A6DA3 #A36F6D #86A36D #6DA1A3
split-complementary
#8A6DA3 #A1A36D #6DA36F
monochromatic
#4C3A5C #6B5181 #8A6DA3 #A893BB #C6B8D2

Accessibility & contrast

On white

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

On black

4.80
#8A6DA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DA3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DA3#FFFFFF#000000##000000
##8A6DA31.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A5
Deuteranopia (green-blind)
#6979A1
Tritanopia (blue-blind)
#877581
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a6da3;
/* rgb */ color: rgb(138, 109, 163);
/* oklch */ color: oklch(58.4% 0.087 308.4);
Tailwind
colors: {
  custom: {
    50: '#ad97be',
    500: '#8a6da3',
    950: '#000000',
  },
}
SCSS
$custom: #8a6da3;
$custom-light: #ad97be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6da3",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 163
  },
  "hsl": {
    "h": 272.222,
    "s": 22.689,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.08697,
    "h": 308.4
  },
  "luminance": 0.18985
}

Semantic roles & 50–950 ramp

primary
#8A6DA3
secondary
#B5C2AA
accent
#BF6991
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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