#8A6CE8#8A6CE8

#8A6CE8 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 62.0% C 0.180 H 291.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8A6CE8
RGBrgb(138, 108, 232)
HSLhsl(255, 73%, 67%)
HSVhsv(255, 53%, 91%)
CMYKcmyk(40.5%, 53.4%, 0%, 9%)
CIE-LABlab(53.98, 40.33, -59.04)
CIE-LCHlch(53.98, 71.50, 304.34°)
OKLaboklab(61.99% 0.0657 -0.1677)
OKLCHoklch(61.99% 0.18 291.4)
XYZxyz(30.4053, 21.9537, 78.9638)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CE8 #CAE86C
analogous
#6C8CE8 #8A6CE8 #C86CE8
triadic
#8A6CE8 #E88A6C #6CE88A
tetradic
#8A6CE8 #E86C8C #CAE86C #6CE8C8
square
#8A6CE8 #E86C8C #CAE86C #6CE8C8
split-complementary
#8A6CE8 #E8C86C #8CE86C
monochromatic
#441DBC #6037E0 #8A6CE8 #B4A1F0 #DED6F9

Accessibility & contrast

On white

3.90
#8A6CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8A6CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CE8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CE8#FFFFFF#000000##000000
##8A6CE81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3183EC
Deuteranopia (green-blind)
#377EE5
Tritanopia (blue-blind)
#7086A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6ce8;
/* rgb */ color: rgb(138, 108, 232);
/* oklch */ color: oklch(62.0% 0.180 291.4);
Tailwind
colors: {
  custom: {
    50: '#b197f0',
    500: '#8a6ce8',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ce8;
$custom-light: #b197f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ce8",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 232
  },
  "hsl": {
    "h": 254.516,
    "s": 72.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61991,
    "c": 0.18011,
    "h": 291.4
  },
  "luminance": 0.21955
}

Semantic roles & 50–950 ramp

primary
#8A6CE8
secondary
#E2ECC4
accent
#D510A5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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