#8A6AEF#8A6AEF

#8A6AEF is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.1% C 0.192 H 290.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8A6AEF
RGBrgb(138, 106, 239)
HSLhsl(254, 81%, 68%)
HSVhsv(254, 56%, 94%)
CMYKcmyk(42.3%, 55.6%, 0%, 6.3%)
CIE-LABlab(53.97, 43.38, -62.97)
CIE-LCHlch(53.97, 76.46, 304.56°)
OKLaboklab(62.12% 0.0682 -0.1793)
OKLCHoklch(62.12% 0.192 290.8)
XYZxyz(31.2109, 21.9423, 84.2355)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AEF #CFEF6A
analogous
#6A8DEF #8A6AEF #CC6AEF
triadic
#8A6AEF #EF8A6A #6AEF8A
tetradic
#8A6AEF #EF6A8D #CFEF6A #6AEFCC
square
#8A6AEF #EF6A8D #CFEF6A #6AEFCC
split-complementary
#8A6AEF #EFCC6A #8DEF6A
monochromatic
#4116C9 #5F33E9 #8A6AEF #B5A1F5 #E1D9FB

Accessibility & contrast

On white

3.90
#8A6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8A6AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AEF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AEF#FFFFFF#000000##000000
##8A6AEF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F83F3
Deuteranopia (green-blind)
#277EEC
Tritanopia (blue-blind)
#6D87A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6aef;
/* rgb */ color: rgb(138, 106, 239);
/* oklch */ color: oklch(62.1% 0.192 290.8);
Tailwind
colors: {
  custom: {
    50: '#b295f5',
    500: '#8a6aef',
    950: '#000000',
  },
}
SCSS
$custom: #8a6aef;
$custom-light: #b295f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6aef",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 254.436,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6212,
    "c": 0.1918,
    "h": 290.8
  },
  "luminance": 0.21943
}

Semantic roles & 50–950 ramp

primary
#8A6AEF
secondary
#E5EFC6
accent
#DD09AA
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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