#8A6DF6#8A6DF6

#8A6DF6 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.1% C 0.197 H 289.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A6DF6
RGBrgb(138, 109, 246)
HSLhsl(253, 88%, 70%)
HSVhsv(253, 56%, 96%)
CMYKcmyk(43.9%, 55.7%, 0%, 3.5%)
CIE-LABlab(55.07, 43.61, -65.10)
CIE-LCHlch(55.07, 78.35, 303.82°)
OKLaboklab(63.07% 0.0649 -0.1855)
OKLCHoklch(63.07% 0.197 289.3)
XYZxyz(32.5797, 22.9932, 89.8924)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DF6 #D9F66D
analogous
#6D94F6 #8A6DF6 #CF6DF6
triadic
#8A6DF6 #F68A6D #6DF68A
tetradic
#8A6DF6 #F66D94 #D9F66D #6DF6CF
square
#8A6DF6 #F66D94 #D9F66D #6DF6CF
split-complementary
#8A6DF6 #F6CF6D #94F66D
monochromatic
#390EDB #5C33F2 #8A6DF6 #B8A7FA #E6E0FD

Accessibility & contrast

On white

3.75
#8A6DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8A6DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DF6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DF6#FFFFFF#000000##000000
##8A6DF61.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B87FB
Deuteranopia (green-blind)
#2181F3
Tritanopia (blue-blind)
#698BA7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6df6;
/* rgb */ color: rgb(138, 109, 246);
/* oklch */ color: oklch(63.1% 0.197 289.3);
Tailwind
colors: {
  custom: {
    50: '#b298fa',
    500: '#8a6df6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6df6;
$custom-light: #b298fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6df6",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 252.701,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63073,
    "c": 0.19652,
    "h": 289.3
  },
  "luminance": 0.22994
}

Semantic roles & 50–950 ramp

primary
#8A6DF6
secondary
#EBF3CC
accent
#E501B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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