#8A6FFA#8A6FFA

#8A6FFA is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.7% C 0.199 H 288.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8A6FFA
RGBrgb(138, 111, 250)
HSLhsl(252, 93%, 71%)
HSVhsv(252, 56%, 98%)
CMYKcmyk(44.8%, 55.6%, 0%, 2%)
CIE-LABlab(55.76, 43.59, -66.20)
CIE-LCHlch(55.76, 79.26, 303.36°)
OKLaboklab(63.67% 0.0627 -0.1887)
OKLCHoklch(63.67% 0.199 288.4)
XYZxyz(33.4161, 23.6730, 93.2326)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FFA #DFFA6F
analogous
#6F99FA #8A6FFA #D06FFA
triadic
#8A6FFA #FA8A6F #6FFA8A
tetradic
#8A6FFA #FA6F99 #DFFA6F #6FFAD0
square
#8A6FFA #FA6F99 #DFFA6F #6FFAD0
split-complementary
#8A6FFA #FAD06F #99FA6F
monochromatic
#3308E7 #5A34F8 #8A6FFA #BAAAFC #E7E1FE

Accessibility & contrast

On white

3.66
#8A6FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8A6FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FFA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FFA#FFFFFF#000000##000000
##8A6FFA1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A89FF
Deuteranopia (green-blind)
#1D82F7
Tritanopia (blue-blind)
#678EAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a6ffa;
/* rgb */ color: rgb(138, 111, 250);
/* oklch */ color: oklch(63.7% 0.199 288.4);
Tailwind
colors: {
  custom: {
    50: '#b399fd',
    500: '#8a6ffa',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ffa;
$custom-light: #b399fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ffa",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 250
  },
  "hsl": {
    "h": 251.655,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63666,
    "c": 0.19887,
    "h": 288.4
  },
  "luminance": 0.23674
}

Semantic roles & 50–950 ramp

primary
#8A6FFA
secondary
#EEF5D0
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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