#8A6AFA#8A6AFA

#8A6AFA is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 62.9% C 0.206 H 289.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A6AFA
RGBrgb(138, 106, 250)
HSLhsl(253, 94%, 70%)
HSVhsv(253, 58%, 98%)
CMYKcmyk(44.8%, 57.6%, 0%, 2%)
CIE-LABlab(54.67, 46.40, -67.95)
CIE-LCHlch(54.67, 82.28, 304.33°)
OKLaboklab(62.86% 0.0681 -0.1939)
OKLCHoklch(62.86% 0.206 289.4)
XYZxyz(32.8857, 22.6122, 93.0558)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AFA #DAFA6A
analogous
#6A92FA #8A6AFA #D26AFA
triadic
#8A6AFA #FA8A6A #6AFA8A
tetradic
#8A6AFA #FA6A92 #DAFA6A #6AFAD2
square
#8A6AFA #FA6A92 #DAFA6A #6AFAD2
split-complementary
#8A6AFA #FAD26A #92FA6A
monochromatic
#3808E2 #5C2FF8 #8A6AFA #B8A5FC #E7E0FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6AFA#FFFFFF#000000##000000
##8A6AFA1.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)
#0086FF
Deuteranopia (green-blind)
#007FF7
Tritanopia (blue-blind)
#688AA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6afa;
/* rgb */ color: rgb(138, 106, 250);
/* oklch */ color: oklch(62.9% 0.206 289.4);
Tailwind
colors: {
  custom: {
    50: '#b396fd',
    500: '#8a6afa',
    950: '#000000',
  },
}
SCSS
$custom: #8a6afa;
$custom-light: #b396fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6afa",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 253.333,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62864,
    "c": 0.20553,
    "h": 289.4
  },
  "luminance": 0.22613
}

Semantic roles & 50–950 ramp

primary
#8A6AFA
secondary
#EBF4CC
accent
#E600B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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