#8A6EB4#8A6EB4

#8A6EB4 is a mid, moderate violet. Relative luminance 0.199; OKLCH L 59.4% C 0.108 H 301.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A6EB4
RGBrgb(138, 110, 180)
HSLhsl(264, 32%, 57%)
HSVhsv(264, 39%, 71%)
CMYKcmyk(23.3%, 38.9%, 0%, 29.4%)
CIE-LABlab(51.67, 25.64, -33.10)
CIE-LCHlch(51.67, 41.87, 307.76°)
OKLaboklab(59.36% 0.0567 -0.092)
OKLCHoklch(59.36% 0.108 301.6)
XYZxyz(24.2936, 19.8504, 45.7228)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EB4 #98B46E
analogous
#6E75B4 #8A6EB4 #AD6EB4
triadic
#8A6EB4 #B48A6E #6EB48A
tetradic
#8A6EB4 #B46E75 #98B46E #6EB4AD
square
#8A6EB4 #B46E75 #98B46E #6EB4AD
split-complementary
#8A6EB4 #B4AD6E #75B46E
monochromatic
#4E396E #6B4E97 #8A6EB4 #AB96C9 #CBBFDE

Accessibility & contrast

On white

4.23
#8A6EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8A6EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EB4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EB4#FFFFFF#000000##000000
##8A6EB41.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7BB7
Deuteranopia (green-blind)
#637BB2
Tritanopia (blue-blind)
#837988
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a6eb4;
/* rgb */ color: rgb(138, 110, 180);
/* oklch */ color: oklch(59.4% 0.108 301.6);
Tailwind
colors: {
  custom: {
    50: '#ad98ca',
    500: '#8a6eb4',
    950: '#000000',
  },
}
SCSS
$custom: #8a6eb4;
$custom-light: #ad98ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6eb4",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 180
  },
  "hsl": {
    "h": 264,
    "s": 31.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.10806,
    "h": 301.6
  },
  "luminance": 0.1985
}

Semantic roles & 50–950 ramp

primary
#8A6EB4
secondary
#C2CDB1
accent
#C8609E
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A6EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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