#8A6FE6#8A6FE6

#8A6FE6 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.4% C 0.173 H 291.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A6FE6
RGBrgb(138, 111, 230)
HSLhsl(254, 70%, 67%)
HSVhsv(254, 52%, 90%)
CMYKcmyk(40%, 51.7%, 0%, 9.8%)
CIE-LABlab(54.54, 38.07, -57.02)
CIE-LCHlch(54.54, 68.56, 303.73°)
OKLaboklab(62.37% 0.062 -0.1618)
OKLCHoklch(62.37% 0.173 291)
XYZxyz(30.4447, 22.4844, 77.5834)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FE6 #CBE66F
analogous
#6F90E6 #8A6FE6 #C56FE6
triadic
#8A6FE6 #E68A6F #6FE68A
tetradic
#8A6FE6 #E66F90 #CBE66F #6FE6C5
square
#8A6FE6 #E66F90 #CBE66F #6FE6C5
split-complementary
#8A6FE6 #E6C56F #90E66F
monochromatic
#4320BA #603BDD #8A6FE6 #B4A3EF #DFD7F8

Accessibility & contrast

On white

3.82
#8A6FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8A6FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FE6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FE6#FFFFFF#000000##000000
##8A6FE61.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B84EA
Deuteranopia (green-blind)
#3F80E3
Tritanopia (blue-blind)
#7188A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6fe6;
/* rgb */ color: rgb(138, 111, 230);
/* oklch */ color: oklch(62.4% 0.173 291.0);
Tailwind
colors: {
  custom: {
    50: '#b199ee',
    500: '#8a6fe6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fe6;
$custom-light: #b199ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fe6",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 230
  },
  "hsl": {
    "h": 253.613,
    "s": 70.414,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.17324,
    "h": 291
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#8A6FE6
secondary
#E3EBC5
accent
#D213A7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A6FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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