#8A6BAD#8A6BAD

#8A6BAD is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.5% C 0.104 H 305.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A6BAD
RGBrgb(138, 107, 173)
HSLhsl(268, 29%, 55%)
HSVhsv(268, 38%, 68%)
CMYKcmyk(20.2%, 38.2%, 0%, 32.2%)
CIE-LABlab(50.61, 25.72, -30.69)
CIE-LCHlch(50.61, 40.04, 309.96°)
OKLaboklab(58.45% 0.0596 -0.0851)
OKLCHoklch(58.45% 0.104 305)
XYZxyz(23.2802, 18.9359, 41.9556)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BAD #8EAD6B
analogous
#6B6DAD #8A6BAD #AB6BAD
triadic
#8A6BAD #AD8A6B #6BAD8A
tetradic
#8A6BAD #AD6B6D #8EAD6B #6BADAB
square
#8A6BAD #AD6B6D #8EAD6B #6BADAB
split-complementary
#8A6BAD #ADAB6B #6DAD6B
monochromatic
#4D3865 #6B4E8D #8A6BAD #A992C3 #C8BAD9

Accessibility & contrast

On white

4.39
#8A6BAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6BAD#FFFFFF#000000##000000
##8A6BAD1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C78B0
Deuteranopia (green-blind)
#6379AB
Tritanopia (blue-blind)
#857584
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a6bad;
/* rgb */ color: rgb(138, 107, 173);
/* oklch */ color: oklch(58.5% 0.104 305.0);
Tailwind
colors: {
  custom: {
    50: '#ad95c5',
    500: '#8a6bad',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bad;
$custom-light: #ad95c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bad",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 173
  },
  "hsl": {
    "h": 268.182,
    "s": 28.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.10384,
    "h": 305
  },
  "luminance": 0.18936
}

Semantic roles & 50–950 ramp

primary
#8A6BAD
secondary
#BBC8AC
accent
#C56397
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A6BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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