#8A6AF5#8A6AF5

#8A6AF5 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.5% C 0.199 H 290.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8A6AF5
RGBrgb(138, 106, 245)
HSLhsl(254, 87%, 69%)
HSVhsv(254, 57%, 96%)
CMYKcmyk(43.7%, 56.7%, 0%, 3.9%)
CIE-LABlab(54.35, 45.02, -65.70)
CIE-LCHlch(54.35, 79.64, 304.42°)
OKLaboklab(62.52% 0.0682 -0.1873)
OKLCHoklch(62.52% 0.199 290)
XYZxyz(32.1121, 22.3028, 88.9814)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AF5 #D5F56A
analogous
#6A90F5 #8A6AF5 #D06AF5
triadic
#8A6AF5 #F58A6A #6AF58A
tetradic
#8A6AF5 #F56A90 #D5F56A #6AF5D0
square
#8A6AF5 #F56A90 #D5F56A #6AF5D0
split-complementary
#8A6AF5 #F5D06A #90F56A
monochromatic
#3C0ED6 #5D31F1 #8A6AF5 #B7A3F9 #E4DDFD

Accessibility & contrast

On white

3.85
#8A6AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8A6AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AF5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AF5#FFFFFF#000000##000000
##8A6AF51.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B85FA
Deuteranopia (green-blind)
#187FF2
Tritanopia (blue-blind)
#6A89A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6af5;
/* rgb */ color: rgb(138, 106, 245);
/* oklch */ color: oklch(62.5% 0.199 290.0);
Tailwind
colors: {
  custom: {
    50: '#b296f9',
    500: '#8a6af5',
    950: '#000000',
  },
}
SCSS
$custom: #8a6af5;
$custom-light: #b296f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6af5",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 253.813,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62523,
    "c": 0.19932,
    "h": 290
  },
  "luminance": 0.22304
}

Semantic roles & 50–950 ramp

primary
#8A6AF5
secondary
#E8F2C9
accent
#E402B0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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