#8A6CF7#8A6CF7

#8A6CF7 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.0% C 0.199 H 289.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A6CF7
RGBrgb(138, 108, 247)
HSLhsl(253, 90%, 70%)
HSVhsv(253, 56%, 97%)
CMYKcmyk(44.1%, 56.3%, 0%, 3.1%)
CIE-LABlab(54.91, 44.45, -65.90)
CIE-LCHlch(54.91, 79.49, 304.00°)
OKLaboklab(62.98% 0.066 -0.1879)
OKLCHoklch(62.98% 0.199 289.3)
XYZxyz(32.6276, 22.8426, 90.6676)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CF7 #D9F76C
analogous
#6C93F7 #8A6CF7 #D06CF7
triadic
#8A6CF7 #F78A6C #6CF78A
tetradic
#8A6CF7 #F76C93 #D9F76C #6CF7D0
square
#8A6CF7 #F76C93 #D9F76C #6CF7D0
split-complementary
#8A6CF7 #F7D06C #93F76C
monochromatic
#390CDD #5C32F4 #8A6CF7 #B8A6FA #E6E0FD

Accessibility & contrast

On white

3.77
#8A6CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8A6CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CF7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CF7#FFFFFF#000000##000000
##8A6CF71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1286FC
Deuteranopia (green-blind)
#1A80F4
Tritanopia (blue-blind)
#698BA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6cf7;
/* rgb */ color: rgb(138, 108, 247);
/* oklch */ color: oklch(63.0% 0.199 289.3);
Tailwind
colors: {
  custom: {
    50: '#b397fb',
    500: '#8a6cf7',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cf7;
$custom-light: #b397fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cf7",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 252.95,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62978,
    "c": 0.19913,
    "h": 289.3
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#8A6CF7
secondary
#EBF3CC
accent
#E600B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A6CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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