#8A6BEE#8A6BEE

#8A6BEE is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.2% C 0.189 H 290.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8A6BEE
RGBrgb(138, 107, 238)
HSLhsl(254, 79%, 68%)
HSVhsv(254, 55%, 93%)
CMYKcmyk(42%, 55%, 0%, 6.7%)
CIE-LABlab(54.12, 42.54, -62.16)
CIE-LCHlch(54.12, 75.32, 304.38°)
OKLaboklab(62.22% 0.067 -0.1769)
OKLCHoklch(62.22% 0.189 290.8)
XYZxyz(31.1673, 22.0907, 83.4941)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BEE #CFEE6B
analogous
#6B8EEE #8A6BEE #CB6BEE
triadic
#8A6BEE #EE8A6B #6BEE8A
tetradic
#8A6BEE #EE6B8E #CFEE6B #6BEECB
square
#8A6BEE #EE6B8E #CFEE6B #6BEECB
split-complementary
#8A6BEE #EECB6B #8EEE6B
monochromatic
#4117C8 #5F34E8 #8A6BEE #B5A2F4 #E1D9FB

Accessibility & contrast

On white

3.88
#8A6BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8A6BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BEE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BEE#FFFFFF#000000##000000
##8A6BEE1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F2
Deuteranopia (green-blind)
#2C7FEB
Tritanopia (blue-blind)
#6E87A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6bee;
/* rgb */ color: rgb(138, 107, 238);
/* oklch */ color: oklch(62.2% 0.189 290.8);
Tailwind
colors: {
  custom: {
    50: '#b296f4',
    500: '#8a6bee',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bee;
$custom-light: #b296f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bee",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 254.198,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62216,
    "c": 0.18916,
    "h": 290.8
  },
  "luminance": 0.22092
}

Semantic roles & 50–950 ramp

primary
#8A6BEE
secondary
#E5EFC6
accent
#DC0AAA
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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