#8A6BBC#8A6BBC

#8A6BBC is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.2% C 0.124 H 300.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8A6BBC
RGBrgb(138, 107, 188)
HSLhsl(263, 38%, 58%)
HSVhsv(263, 43%, 74%)
CMYKcmyk(26.6%, 43.1%, 0%, 26.3%)
CIE-LABlab(51.32, 29.37, -38.26)
CIE-LCHlch(51.32, 48.23, 307.52°)
OKLaboklab(59.22% 0.0625 -0.1069)
OKLCHoklch(59.22% 0.124 300.3)
XYZxyz(24.8140, 19.5494, 50.0333)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BBC #9DBC6B
analogous
#6B74BC #8A6BBC #B26BBC
triadic
#8A6BBC #BC8A6B #6BBC8A
tetradic
#8A6BBC #BC6B74 #9DBC6B #6BBCB2
square
#8A6BBC #BC6B74 #9DBC6B #6BBCB2
split-complementary
#8A6BBC #BCB26B #74BC6B
monochromatic
#4F3677 #6B49A1 #8A6BBC #AB95CF #CDBFE2

Accessibility & contrast

On white

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

On black

4.91
#8A6BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BBC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BBC#FFFFFF#000000##000000
##8A6BBC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a6bbc;
/* rgb */ color: rgb(138, 107, 188);
/* oklch */ color: oklch(59.2% 0.124 300.3);
Tailwind
colors: {
  custom: {
    50: '#ae96d0',
    500: '#8a6bbc',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bbc;
$custom-light: #ae96d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bbc",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 188
  },
  "hsl": {
    "h": 262.963,
    "s": 37.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59222,
    "c": 0.12387,
    "h": 300.3
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#8A6BBC
secondary
#C5D2B1
accent
#CE5AA1
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A6BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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