#8A6AF9#8A6AF9

#8A6AF9 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 62.8% C 0.204 H 289.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A6AF9
RGBrgb(138, 106, 249)
HSLhsl(253, 92%, 70%)
HSVhsv(253, 57%, 98%)
CMYKcmyk(44.6%, 57.4%, 0%, 2.4%)
CIE-LABlab(54.61, 46.12, -67.50)
CIE-LCHlch(54.61, 81.76, 304.34°)
OKLaboklab(62.8% 0.0682 -0.1926)
OKLCHoklch(62.8% 0.204 289.5)
XYZxyz(32.7293, 22.5497, 92.2322)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AF9 #D9F96A
analogous
#6A91F9 #8A6AF9 #D26AF9
triadic
#8A6AF9 #F98A6A #6AF98A
tetradic
#8A6AF9 #F96A91 #D9F96A #6AF9D2
square
#8A6AF9 #F96A91 #D9F96A #6AF9D2
split-complementary
#8A6AF9 #F9D26A #91F96A
monochromatic
#3909E0 #5C2FF7 #8A6AF9 #B8A5FB #E6E0FE

Accessibility & contrast

On white

3.81
#8A6AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A6AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AF9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AF9#FFFFFF#000000##000000
##8A6AF91.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#057FF6
Tritanopia (blue-blind)
#688AA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6af9;
/* rgb */ color: rgb(138, 106, 249);
/* oklch */ color: oklch(62.8% 0.204 289.5);
Tailwind
colors: {
  custom: {
    50: '#b396fc',
    500: '#8a6af9',
    950: '#000000',
  },
}
SCSS
$custom: #8a6af9;
$custom-light: #b396fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6af9",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 249
  },
  "hsl": {
    "h": 253.427,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62795,
    "c": 0.2043,
    "h": 289.5
  },
  "luminance": 0.22551
}

Semantic roles & 50–950 ramp

primary
#8A6AF9
secondary
#EBF4CB
accent
#E600B2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A6AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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