#8A6FEB#8A6FEB

#8A6FEB is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.7% C 0.180 H 290.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A6FEB
RGBrgb(138, 111, 235)
HSLhsl(253, 76%, 68%)
HSVhsv(253, 53%, 92%)
CMYKcmyk(41.3%, 52.8%, 0%, 7.8%)
CIE-LABlab(54.83, 39.43, -59.34)
CIE-LCHlch(54.83, 71.25, 303.61°)
OKLaboklab(62.68% 0.0623 -0.1686)
OKLCHoklch(62.68% 0.18 290.3)
XYZxyz(31.1569, 22.7693, 81.3345)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FEB #D0EB6F
analogous
#6F92EB #8A6FEB #C86FEB
triadic
#8A6FEB #EB8A6F #6FEB8A
tetradic
#8A6FEB #EB6F92 #D0EB6F #6FEBC8
square
#8A6FEB #EB6F92 #D0EB6F #6FEBC8
split-complementary
#8A6FEB #EBC86F #92EB6F
monochromatic
#401BC4 #5E39E4 #8A6FEB #B6A5F2 #E1DAFA

Accessibility & contrast

On white

3.78
#8A6FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8A6FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FEB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FEB#FFFFFF#000000##000000
##8A6FEB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586EF
Deuteranopia (green-blind)
#3980E8
Tritanopia (blue-blind)
#6F89A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6feb;
/* rgb */ color: rgb(138, 111, 235);
/* oklch */ color: oklch(62.7% 0.180 290.3);
Tailwind
colors: {
  custom: {
    50: '#b199f2',
    500: '#8a6feb',
    950: '#000000',
  },
}
SCSS
$custom: #8a6feb;
$custom-light: #b199f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6feb",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 253.065,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62684,
    "c": 0.17972,
    "h": 290.3
  },
  "luminance": 0.2277
}

Semantic roles & 50–950 ramp

primary
#8A6FEB
secondary
#E6EEC8
accent
#D80EAC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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