#8A6AFE#8A6AFE

#8A6AFE is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.1% C 0.210 H 288.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A6AFE
RGBrgb(138, 106, 254)
HSLhsl(253, 99%, 71%)
HSVhsv(253, 58%, 100%)
CMYKcmyk(45.7%, 58.3%, 0%, 0.4%)
CIE-LABlab(54.93, 47.51, -69.74)
CIE-LCHlch(54.93, 84.38, 304.26°)
OKLaboklab(63.14% 0.0681 -0.1992)
OKLCHoklch(63.14% 0.21 288.9)
XYZxyz(33.5196, 22.8658, 96.3941)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AFE #DEFE6A
analogous
#6A94FE #8A6AFE #D46AFE
triadic
#8A6AFE #FE8A6A #6AFE8A
tetradic
#8A6AFE #FE6A94 #DEFE6A #6AFED4
square
#8A6AFE #FE6A94 #DEFE6A #6AFED4
split-complementary
#8A6AFE #FED46A #94FE6A
monochromatic
#3402EC #5A2DFE #8A6AFE #BAA7FE #E7E1FF

Accessibility & contrast

On white

3.77
#8A6AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8A6AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AFE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AFE#FFFFFF#000000##000000
##8A6AFE1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0080FB
Tritanopia (blue-blind)
#658CAA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6afe;
/* rgb */ color: rgb(138, 106, 254);
/* oklch */ color: oklch(63.1% 0.210 288.9);
Tailwind
colors: {
  custom: {
    50: '#b396ff',
    500: '#8a6afe',
    950: '#000000',
  },
}
SCSS
$custom: #8a6afe;
$custom-light: #b396ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6afe",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 252.973,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63141,
    "c": 0.21048,
    "h": 288.9
  },
  "luminance": 0.22867
}

Semantic roles & 50–950 ramp

primary
#8A6AFE
secondary
#EDF6CE
accent
#E600B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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