#8A6BEF#8A6BEF

#8A6BEF is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.3% C 0.190 H 290.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A6BEF
RGBrgb(138, 107, 239)
HSLhsl(254, 80%, 68%)
HSVhsv(254, 55%, 94%)
CMYKcmyk(42.3%, 55.2%, 0%, 6.3%)
CIE-LABlab(54.19, 42.81, -62.62)
CIE-LCHlch(54.19, 75.85, 304.36°)
OKLaboklab(62.28% 0.0671 -0.1782)
OKLCHoklch(62.28% 0.19 290.6)
XYZxyz(31.3146, 22.1497, 84.2700)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BEF #D0EF6B
analogous
#6B8EEF #8A6BEF #CC6BEF
triadic
#8A6BEF #EF8A6B #6BEF8A
tetradic
#8A6BEF #EF6B8E #D0EF6B #6BEFCC
square
#8A6BEF #EF6B8E #D0EF6B #6BEFCC
split-complementary
#8A6BEF #EFCC6B #8EEF6B
monochromatic
#4016CA #5E34E9 #8A6BEF #B6A2F5 #E1D9FB

Accessibility & contrast

On white

3.87
#8A6BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8A6BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BEF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BEF#FFFFFF#000000##000000
##8A6BEF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2384F3
Deuteranopia (green-blind)
#2A7FEC
Tritanopia (blue-blind)
#6D88A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6bef;
/* rgb */ color: rgb(138, 107, 239);
/* oklch */ color: oklch(62.3% 0.190 290.6);
Tailwind
colors: {
  custom: {
    50: '#b296f5',
    500: '#8a6bef',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bef;
$custom-light: #b296f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bef",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 254.091,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62282,
    "c": 0.19042,
    "h": 290.6
  },
  "luminance": 0.22151
}

Semantic roles & 50–950 ramp

primary
#8A6BEF
secondary
#E6EFC7
accent
#DD09AB
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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