#8A6EF9#8A6EF9

#8A6EF9 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.199 H 288.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A6EF9
RGBrgb(138, 110, 249)
HSLhsl(252, 92%, 70%)
HSVhsv(252, 56%, 98%)
CMYKcmyk(44.6%, 55.8%, 0%, 2.4%)
CIE-LABlab(55.48, 43.87, -66.10)
CIE-LCHlch(55.48, 79.34, 303.57°)
OKLaboklab(63.44% 0.0638 -0.1884)
OKLCHoklch(63.44% 0.199 288.7)
XYZxyz(33.1512, 23.3934, 92.3728)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EF9 #DDF96E
analogous
#6E98F9 #8A6EF9 #CF6EF9
triadic
#8A6EF9 #F98A6E #6EF98A
tetradic
#8A6EF9 #F96E98 #DDF96E #6EF9CF
square
#8A6EF9 #F96E98 #DDF96E #6EF9CF
split-complementary
#8A6EF9 #F9CF6E #98F96E
monochromatic
#3509E3 #5B33F7 #8A6EF9 #B9A9FB #E7E2FE

Accessibility & contrast

On white

3.70
#8A6EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8A6EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EF9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EF9#FFFFFF#000000##000000
##8A6EF91.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1788FE
Deuteranopia (green-blind)
#1C81F6
Tritanopia (blue-blind)
#688DA9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6ef9;
/* rgb */ color: rgb(138, 110, 249);
/* oklch */ color: oklch(63.4% 0.199 288.7);
Tailwind
colors: {
  custom: {
    50: '#b398fc',
    500: '#8a6ef9',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ef9;
$custom-light: #b398fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ef9",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 249
  },
  "hsl": {
    "h": 252.086,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63436,
    "c": 0.19894,
    "h": 288.7
  },
  "luminance": 0.23395
}

Semantic roles & 50–950 ramp

primary
#8A6EF9
secondary
#EDF4CE
accent
#E600B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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