#8A6FBD#8A6FBD

#8A6FBD is a mid, moderate violet. Relative luminance 0.204; OKLCH L 60.0% C 0.119 H 298.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A6FBD
RGBrgb(138, 111, 189)
HSLhsl(261, 37%, 59%)
HSVhsv(261, 41%, 74%)
CMYKcmyk(27%, 41.3%, 0%, 25.9%)
CIE-LABlab(52.34, 27.28, -37.24)
CIE-LCHlch(52.34, 46.16, 306.23°)
OKLaboklab(60% 0.057 -0.104)
OKLCHoklch(60% 0.119 298.7)
XYZxyz(25.3489, 20.4461, 50.7453)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FBD #A2BD6F
analogous
#6F7BBD #8A6FBD #B16FBD
triadic
#8A6FBD #BD8A6F #6FBD8A
tetradic
#8A6FBD #BD6F7B #A2BD6F #6FBDB1
square
#8A6FBD #BD6F7B #A2BD6F #6FBDB1
split-complementary
#8A6FBD #BDB16F #7BBD6F
monochromatic
#4F387A #6A4BA4 #8A6FBD #AC99D0 #CEC3E3

Accessibility & contrast

On white

4.13
#8A6FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A6FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FBD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FBD#FFFFFF#000000##000000
##8A6FBD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC0
Deuteranopia (green-blind)
#5F7CBB
Tritanopia (blue-blind)
#807C8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a6fbd;
/* rgb */ color: rgb(138, 111, 189);
/* oklch */ color: oklch(60.0% 0.119 298.7);
Tailwind
colors: {
  custom: {
    50: '#ae98d1',
    500: '#8a6fbd',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fbd;
$custom-light: #ae98d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fbd",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 189
  },
  "hsl": {
    "h": 260.769,
    "s": 37.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60004,
    "c": 0.1186,
    "h": 298.7
  },
  "luminance": 0.20446
}

Semantic roles & 50–950 ramp

primary
#8A6FBD
secondary
#C9D3B5
accent
#CD5BA6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A6FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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