#8A6AF6#8A6AF6

#8A6AF6 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 62.6% C 0.201 H 289.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A6AF6
RGBrgb(138, 106, 246)
HSLhsl(254, 89%, 69%)
HSVhsv(254, 57%, 96%)
CMYKcmyk(43.9%, 56.9%, 0%, 3.5%)
CIE-LABlab(54.41, 45.30, -66.15)
CIE-LCHlch(54.41, 80.17, 304.40°)
OKLaboklab(62.59% 0.0682 -0.1886)
OKLCHoklch(62.59% 0.201 289.9)
XYZxyz(32.2651, 22.3640, 89.7876)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AF6 #D6F66A
analogous
#6A90F6 #8A6AF6 #D06AF6
triadic
#8A6AF6 #F68A6A #6AF68A
tetradic
#8A6AF6 #F66A90 #D6F66A #6AF6D0
square
#8A6AF6 #F66A90 #D6F66A #6AF6D0
split-complementary
#8A6AF6 #F6D06A #90F66A
monochromatic
#3C0DD9 #5D30F3 #8A6AF6 #B7A4F9 #E5DDFD

Accessibility & contrast

On white

3.84
#8A6AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8A6AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AF6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AF6#FFFFFF#000000##000000
##8A6AF61.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0585FB
Deuteranopia (green-blind)
#157FF3
Tritanopia (blue-blind)
#6A89A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6af6;
/* rgb */ color: rgb(138, 106, 246);
/* oklch */ color: oklch(62.6% 0.201 289.9);
Tailwind
colors: {
  custom: {
    50: '#b396fa',
    500: '#8a6af6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6af6;
$custom-light: #b396fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6af6",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 253.714,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6259,
    "c": 0.20057,
    "h": 289.9
  },
  "luminance": 0.22365
}

Semantic roles & 50–950 ramp

primary
#8A6AF6
secondary
#E9F2C9
accent
#E500B1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A6AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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