#8A6BB0#8A6BB0

#8A6BB0 is a mid, moderate violet. Relative luminance 0.191; OKLCH L 58.6% C 0.108 H 303.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A6BB0
RGBrgb(138, 107, 176)
HSLhsl(267, 30%, 55%)
HSVhsv(267, 39%, 69%)
CMYKcmyk(21.6%, 39.2%, 0%, 31%)
CIE-LABlab(50.75, 26.43, -32.22)
CIE-LCHlch(50.75, 41.67, 309.37°)
OKLaboklab(58.6% 0.0602 -0.0895)
OKLCHoklch(58.6% 0.108 303.9)
XYZxyz(23.5738, 19.0533, 43.5016)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BB0 #91B06B
analogous
#6B6EB0 #8A6BB0 #AC6BB0
triadic
#8A6BB0 #B08A6B #6BB08A
tetradic
#8A6BB0 #B06B6E #91B06B #6BB0AC
square
#8A6BB0 #B06B6E #91B06B #6BB0AC
split-complementary
#8A6BB0 #B0AC6B #6EB06B
monochromatic
#4E3869 #6B4D91 #8A6BB0 #AA93C5 #C9BBDB

Accessibility & contrast

On white

4.37
#8A6BB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8A6BB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BB0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BB0#FFFFFF#000000##000000
##8A6BB01.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B78B3
Deuteranopia (green-blind)
#6279AE
Tritanopia (blue-blind)
#847685
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a6bb0;
/* rgb */ color: rgb(138, 107, 176);
/* oklch */ color: oklch(58.6% 0.108 303.9);
Tailwind
colors: {
  custom: {
    50: '#ad95c8',
    500: '#8a6bb0',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bb0;
$custom-light: #ad95c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bb0",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 176
  },
  "hsl": {
    "h": 266.957,
    "s": 30.396,
    "l": 55.49
  },
  "oklch": {
    "l": 0.586,
    "c": 0.10783,
    "h": 303.9
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

primary
#8A6BB0
secondary
#BDCAAD
accent
#C76199
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A6BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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