#8A6BBB#8A6BBB

#8A6BBB is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.2% C 0.123 H 300.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8A6BBB
RGBrgb(138, 107, 187)
HSLhsl(263, 37%, 58%)
HSVhsv(263, 43%, 73%)
CMYKcmyk(26.2%, 42.8%, 0%, 26.7%)
CIE-LABlab(51.27, 29.12, -37.76)
CIE-LCHlch(51.27, 47.69, 307.64°)
OKLaboklab(59.17% 0.0623 -0.1055)
OKLCHoklch(59.17% 0.123 300.6)
XYZxyz(24.7065, 19.5064, 49.4676)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BBB #9CBB6B
analogous
#6B74BB #8A6BBB #B26BBB
triadic
#8A6BBB #BB8A6B #6BBB8A
tetradic
#8A6BBB #BB6B74 #9CBB6B #6BBBB2
square
#8A6BBB #BB6B74 #9CBB6B #6BBBB2
split-complementary
#8A6BBB #BBB26B #74BB6B
monochromatic
#4F3676 #6B49A0 #8A6BBB #AB95CE #CCBFE2

Accessibility & contrast

On white

4.28
#8A6BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8A6BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BBB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BBB#FFFFFF#000000##000000
##8A6BBB1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABE
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#81798A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a6bbb;
/* rgb */ color: rgb(138, 107, 187);
/* oklch */ color: oklch(59.2% 0.123 300.6);
Tailwind
colors: {
  custom: {
    50: '#ae96d0',
    500: '#8a6bbb',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bbb;
$custom-light: #ae96d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bbb",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 263.25,
    "s": 37.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.12254,
    "h": 300.6
  },
  "luminance": 0.19507
}

Semantic roles & 50–950 ramp

primary
#8A6BBB
secondary
#C5D1B1
accent
#CD5BA1
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A6BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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