#8A6EB7#8A6EB7

#8A6EB7 is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.5% C 0.112 H 300.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8A6EB7
RGBrgb(138, 110, 183)
HSLhsl(263, 34%, 57%)
HSVhsv(263, 40%, 72%)
CMYKcmyk(24.6%, 39.9%, 0%, 28.2%)
CIE-LABlab(51.81, 26.38, -34.61)
CIE-LCHlch(51.81, 43.52, 307.31°)
OKLaboklab(59.51% 0.0573 -0.0964)
OKLCHoklch(59.51% 0.112 300.7)
XYZxyz(24.6025, 19.9740, 47.3498)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EB7 #9BB76E
analogous
#6E76B7 #8A6EB7 #AF6EB7
triadic
#8A6EB7 #B78A6E #6EB78A
tetradic
#8A6EB7 #B76E76 #9BB76E #6EB7AF
square
#8A6EB7 #B76E76 #9BB76E #6EB7AF
split-complementary
#8A6EB7 #B7AF6E #76B76E
monochromatic
#4F3972 #6B4D9B #8A6EB7 #AB97CB #CCC0E0

Accessibility & contrast

On white

4.20
#8A6EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8A6EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EB7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EB7#FFFFFF#000000##000000
##8A6EB71.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7BBA
Deuteranopia (green-blind)
#617BB5
Tritanopia (blue-blind)
#827A8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a6eb7;
/* rgb */ color: rgb(138, 110, 183);
/* oklch */ color: oklch(59.5% 0.112 300.7);
Tailwind
colors: {
  custom: {
    50: '#ad98cd',
    500: '#8a6eb7',
    950: '#000000',
  },
}
SCSS
$custom: #8a6eb7;
$custom-light: #ad98cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6eb7",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 183
  },
  "hsl": {
    "h": 263.014,
    "s": 33.641,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.11212,
    "h": 300.7
  },
  "luminance": 0.19974
}

Semantic roles & 50–950 ramp

primary
#8A6EB7
secondary
#C4CFB2
accent
#CA5EA0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A6EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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