#8A6CF6#8A6CF6

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

Color values

HEX#8A6CF6
RGBrgb(138, 108, 246)
HSLhsl(253, 88%, 69%)
HSVhsv(253, 56%, 96%)
CMYKcmyk(43.9%, 56.1%, 0%, 3.5%)
CIE-LABlab(54.85, 44.17, -65.45)
CIE-LCHlch(54.85, 78.96, 304.02°)
OKLaboklab(62.91% 0.066 -0.1865)
OKLCHoklch(62.91% 0.198 289.5)
XYZxyz(32.4737, 22.7811, 89.8571)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CF6 #D8F66C
analogous
#6C93F6 #8A6CF6 #CF6CF6
triadic
#8A6CF6 #F68A6C #6CF68A
tetradic
#8A6CF6 #F66C93 #D8F66C #6CF6CF
square
#8A6CF6 #F66C93 #D8F66C #6CF6CF
split-complementary
#8A6CF6 #F6CF6C #93F66C
monochromatic
#3A0DDA #5C32F2 #8A6CF6 #B8A6FA #E6DFFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6CF6#FFFFFF#000000##000000
##8A6CF61.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)
#1586FB
Deuteranopia (green-blind)
#1D80F3
Tritanopia (blue-blind)
#6A8AA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6cf6;
/* rgb */ color: rgb(138, 108, 246);
/* oklch */ color: oklch(62.9% 0.198 289.5);
Tailwind
colors: {
  custom: {
    50: '#b297fa',
    500: '#8a6cf6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cf6;
$custom-light: #b297fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cf6",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 246
  },
  "hsl": {
    "h": 253.043,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62911,
    "c": 0.19787,
    "h": 289.5
  },
  "luminance": 0.22782
}

Semantic roles & 50–950 ramp

primary
#8A6CF6
secondary
#EAF3CB
accent
#E500B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A6CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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