#8A6BF6#8A6BF6

#8A6BF6 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.7% C 0.199 H 289.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A6BF6
RGBrgb(138, 107, 246)
HSLhsl(253, 89%, 69%)
HSVhsv(253, 57%, 96%)
CMYKcmyk(43.9%, 56.5%, 0%, 3.5%)
CIE-LABlab(54.63, 44.74, -65.80)
CIE-LCHlch(54.63, 79.57, 304.21°)
OKLaboklab(62.75% 0.0671 -0.1876)
OKLCHoklch(62.75% 0.199 289.7)
XYZxyz(32.3688, 22.5713, 89.8221)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BF6 #D7F66B
analogous
#6B92F6 #8A6BF6 #CF6BF6
triadic
#8A6BF6 #F68A6B #6BF68A
tetradic
#8A6BF6 #F66B92 #D7F66B #6BF6CF
square
#8A6BF6 #F66B92 #D7F66B #6BF6CF
split-complementary
#8A6BF6 #F6CF6B #92F66B
monochromatic
#3B0DD9 #5C31F2 #8A6BF6 #B8A5FA #E5DEFD

Accessibility & contrast

On white

3.81
#8A6BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A6BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BF6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BF6#FFFFFF#000000##000000
##8A6BF61.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F85FB
Deuteranopia (green-blind)
#197FF3
Tritanopia (blue-blind)
#6A8AA6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6bf6;
/* rgb */ color: rgb(138, 107, 246);
/* oklch */ color: oklch(62.7% 0.199 289.7);
Tailwind
colors: {
  custom: {
    50: '#b396fa',
    500: '#8a6bf6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bf6;
$custom-light: #b396fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bf6",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 253.381,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6275,
    "c": 0.19923,
    "h": 289.7
  },
  "luminance": 0.22572
}

Semantic roles & 50–950 ramp

primary
#8A6BF6
secondary
#EAF3CA
accent
#E500B2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A6BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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