#8B6AFA#8B6AFA

#8B6AFA is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.0% C 0.206 H 289.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8B6AFA
RGBrgb(139, 106, 250)
HSLhsl(254, 94%, 70%)
HSVhsv(254, 58%, 98%)
CMYKcmyk(44.4%, 57.6%, 0%, 2%)
CIE-LABlab(54.76, 46.61, -67.80)
CIE-LCHlch(54.76, 82.28, 304.50°)
OKLaboklab(62.95% 0.0694 -0.1934)
OKLCHoklch(62.95% 0.206 289.7)
XYZxyz(33.0520, 22.6980, 93.0636)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B6AFA #D9FA6A
analogous
#6A91FA #8B6AFA #D36AFA
triadic
#8B6AFA #FA8B6A #6AFA8B
tetradic
#8B6AFA #FA6A91 #D9FA6A #6AFAD3
square
#8B6AFA #FA6A91 #D9FA6A #6AFAD3
split-complementary
#8B6AFA #FAD36A #91FA6A
monochromatic
#3A08E2 #5D2FF8 #8B6AFA #B9A5FC #E7E0FE

Accessibility & contrast

On white

3.79
#8B6AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8B6AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B6AFA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B6AFA#FFFFFF#000000##000000
##8B6AFA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0380F7
Tritanopia (blue-blind)
#698AA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b6afa;
/* rgb */ color: rgb(139, 106, 250);
/* oklch */ color: oklch(63.0% 0.206 289.7);
Tailwind
colors: {
  custom: {
    50: '#b496fd',
    500: '#8b6afa',
    950: '#000000',
  },
}
SCSS
$custom: #8b6afa;
$custom-light: #b496fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b6afa",
  "rgb": {
    "r": 139,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 253.75,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62951,
    "c": 0.20552,
    "h": 289.7
  },
  "luminance": 0.22699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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