#8A6BE6#8A6BE6

#8A6BE6 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.7% C 0.179 H 291.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8A6BE6
RGBrgb(138, 107, 230)
HSLhsl(255, 71%, 66%)
HSVhsv(255, 53%, 90%)
CMYKcmyk(40%, 53.5%, 0%, 9.8%)
CIE-LABlab(53.63, 40.36, -58.47)
CIE-LCHlch(53.63, 71.04, 304.62°)
OKLaboklab(61.7% 0.0668 -0.166)
OKLCHoklch(61.7% 0.179 291.9)
XYZxyz(30.0180, 21.6310, 77.4412)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BE6 #C7E66B
analogous
#6B89E6 #8A6BE6 #C76BE6
triadic
#8A6BE6 #E68A6B #6BE68A
tetradic
#8A6BE6 #E66B89 #C7E66B #6BE6C7
square
#8A6BE6 #E66B89 #C7E66B #6BE6C7
split-complementary
#8A6BE6 #E6C76B #89E66B
monochromatic
#451FB8 #6137DD #8A6BE6 #B39FEF #DDD4F8

Accessibility & contrast

On white

3.94
#8A6BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8A6BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BE6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BE6#FFFFFF#000000##000000
##8A6BE61.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3282EA
Deuteranopia (green-blind)
#387EE3
Tritanopia (blue-blind)
#71859E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6be6;
/* rgb */ color: rgb(138, 107, 230);
/* oklch */ color: oklch(61.7% 0.179 291.9);
Tailwind
colors: {
  custom: {
    50: '#b196ef',
    500: '#8a6be6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6be6;
$custom-light: #b196ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6be6",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 230
  },
  "hsl": {
    "h": 255.122,
    "s": 71.098,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61696,
    "c": 0.17897,
    "h": 291.9
  },
  "luminance": 0.21632
}

Semantic roles & 50–950 ramp

primary
#8A6BE6
secondary
#E0EBC2
accent
#D312A3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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