#8A6EEB#8A6EEB

#8A6EEB is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.5% C 0.181 H 290.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A6EEB
RGBrgb(138, 110, 235)
HSLhsl(253, 76%, 68%)
HSVhsv(253, 53%, 92%)
CMYKcmyk(41.3%, 53.2%, 0%, 7.8%)
CIE-LABlab(54.61, 40.01, -59.70)
CIE-LCHlch(54.61, 71.87, 303.83°)
OKLaboklab(62.52% 0.0634 -0.1697)
OKLCHoklch(62.52% 0.181 290.5)
XYZxyz(31.0484, 22.5523, 81.2983)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EEB #CFEB6E
analogous
#6E90EB #8A6EEB #C96EEB
triadic
#8A6EEB #EB8A6E #6EEB8A
tetradic
#8A6EEB #EB6E90 #CFEB6E #6EEBC9
square
#8A6EEB #EB6E90 #CFEB6E #6EEBC9
split-complementary
#8A6EEB #EBC96E #90EB6E
monochromatic
#411BC4 #5F38E4 #8A6EEB #B5A4F2 #E1DAFA

Accessibility & contrast

On white

3.81
#8A6EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A6EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EEB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EEB#FFFFFF#000000##000000
##8A6EEB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EF
Deuteranopia (green-blind)
#3780E8
Tritanopia (blue-blind)
#6F88A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6eeb;
/* rgb */ color: rgb(138, 110, 235);
/* oklch */ color: oklch(62.5% 0.181 290.5);
Tailwind
colors: {
  custom: {
    50: '#b198f2',
    500: '#8a6eeb',
    950: '#000000',
  },
}
SCSS
$custom: #8a6eeb;
$custom-light: #b198f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6eeb",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 253.44,
    "s": 75.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62517,
    "c": 0.18113,
    "h": 290.5
  },
  "luminance": 0.22553
}

Semantic roles & 50–950 ramp

primary
#8A6EEB
secondary
#E5EEC7
accent
#D80EAB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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