#8A6EEF#8A6EEF

#8A6EEF is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.186 H 290.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A6EEF
RGBrgb(138, 110, 239)
HSLhsl(253, 80%, 68%)
HSVhsv(253, 54%, 94%)
CMYKcmyk(42.3%, 54%, 0%, 6.3%)
CIE-LABlab(54.85, 41.11, -61.55)
CIE-LCHlch(54.85, 74.01, 303.74°)
OKLaboklab(62.78% 0.0636 -0.1751)
OKLCHoklch(62.78% 0.186 290)
XYZxyz(31.6328, 22.7861, 84.3761)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EEF #D3EF6E
analogous
#6E92EF #8A6EEF #CA6EEF
triadic
#8A6EEF #EF8A6E #6EEF8A
tetradic
#8A6EEF #EF6E92 #D3EF6E #6EEFCA
square
#8A6EEF #EF6E92 #D3EF6E #6EEFCA
split-complementary
#8A6EEF #EFCA6E #92EF6E
monochromatic
#3E17CC #5E37E9 #8A6EEF #B6A5F5 #E3DCFB

Accessibility & contrast

On white

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

On black

5.56
#8A6EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EEF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EEF#FFFFFF#000000##000000
##8A6EEF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F3
Deuteranopia (green-blind)
#3180EC
Tritanopia (blue-blind)
#6D8AA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6eef;
/* rgb */ color: rgb(138, 110, 239);
/* oklch */ color: oklch(62.8% 0.186 290.0);
Tailwind
colors: {
  custom: {
    50: '#b298f5',
    500: '#8a6eef',
    950: '#000000',
  },
}
SCSS
$custom: #8a6eef;
$custom-light: #b298f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6eef",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 253.023,
    "s": 80.124,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62775,
    "c": 0.18626,
    "h": 290
  },
  "luminance": 0.22787
}

Semantic roles & 50–950 ramp

primary
#8A6EEF
secondary
#E7F0C9
accent
#DC09AF
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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