#8A6EEC#8A6EEC

#8A6EEC is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.6% C 0.182 H 290.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A6EEC
RGBrgb(138, 110, 236)
HSLhsl(253, 77%, 68%)
HSVhsv(253, 53%, 93%)
CMYKcmyk(41.5%, 53.4%, 0%, 7.5%)
CIE-LABlab(54.67, 40.28, -60.17)
CIE-LCHlch(54.67, 72.40, 303.80°)
OKLaboklab(62.58% 0.0635 -0.171)
OKLCHoklch(62.58% 0.182 290.4)
XYZxyz(31.1933, 22.6103, 82.0613)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EEC #D0EC6E
analogous
#6E91EC #8A6EEC #C96EEC
triadic
#8A6EEC #EC8A6E #6EEC8A
tetradic
#8A6EEC #EC6E91 #D0EC6E #6EECC9
square
#8A6EEC #EC6E91 #D0EC6E #6EECC9
split-complementary
#8A6EEC #ECC96E #91EC6E
monochromatic
#401AC6 #5E38E5 #8A6EEC #B6A4F3 #E1DAFA

Accessibility & contrast

On white

3.80
#8A6EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A6EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EEC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EEC#FFFFFF#000000##000000
##8A6EEC1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185F0
Deuteranopia (green-blind)
#3680E9
Tritanopia (blue-blind)
#6E89A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6eec;
/* rgb */ color: rgb(138, 110, 236);
/* oklch */ color: oklch(62.6% 0.182 290.4);
Tailwind
colors: {
  custom: {
    50: '#b198f3',
    500: '#8a6eec',
    950: '#000000',
  },
}
SCSS
$custom: #8a6eec;
$custom-light: #b198f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6eec",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 236
  },
  "hsl": {
    "h": 253.333,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62581,
    "c": 0.18241,
    "h": 290.4
  },
  "luminance": 0.22611
}

Semantic roles & 50–950 ramp

primary
#8A6EEC
secondary
#E6EEC7
accent
#D90CAC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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