#8A6FE8#8A6FE8

#8A6FE8 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.5% C 0.176 H 290.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A6FE8
RGBrgb(138, 111, 232)
HSLhsl(253, 72%, 67%)
HSVhsv(253, 52%, 91%)
CMYKcmyk(40.5%, 52.2%, 0%, 9%)
CIE-LABlab(54.66, 38.61, -57.95)
CIE-LCHlch(54.66, 69.64, 303.68°)
OKLaboklab(62.49% 0.0621 -0.1645)
OKLCHoklch(62.49% 0.176 290.7)
XYZxyz(30.7272, 22.5974, 79.0711)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FE8 #CDE86F
analogous
#6F91E8 #8A6FE8 #C66FE8
triadic
#8A6FE8 #E88A6F #6FE88A
tetradic
#8A6FE8 #E86F91 #CDE86F #6FE8C6
square
#8A6FE8 #E86F91 #CDE86F #6FE8C6
split-complementary
#8A6FE8 #E8C66F #91E86F
monochromatic
#421EBE #5F3AE0 #8A6FE8 #B5A4F0 #E0D9F9

Accessibility & contrast

On white

3.80
#8A6FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A6FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FE8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FE8#FFFFFF#000000##000000
##8A6FE81.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985EC
Deuteranopia (green-blind)
#3D80E5
Tritanopia (blue-blind)
#7088A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6fe8;
/* rgb */ color: rgb(138, 111, 232);
/* oklch */ color: oklch(62.5% 0.176 290.7);
Tailwind
colors: {
  custom: {
    50: '#b199f0',
    500: '#8a6fe8',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fe8;
$custom-light: #b199f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fe8",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 232
  },
  "hsl": {
    "h": 253.388,
    "s": 72.455,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62494,
    "c": 0.17583,
    "h": 290.7
  },
  "luminance": 0.22598
}

Semantic roles & 50–950 ramp

primary
#8A6FE8
secondary
#E4ECC6
accent
#D511A9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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