#8A6AE2#8A6AE2

#8A6AE2 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.3% C 0.175 H 292.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A6AE2
RGBrgb(138, 106, 226)
HSLhsl(256, 67%, 65%)
HSVhsv(256, 53%, 89%)
CMYKcmyk(38.9%, 53.1%, 0%, 11.4%)
CIE-LABlab(53.17, 39.85, -56.96)
CIE-LCHlch(53.17, 69.52, 304.97°)
OKLaboklab(61.28% 0.0679 -0.1616)
OKLCHoklch(61.28% 0.175 292.8)
XYZxyz(29.3591, 21.2016, 74.4822)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AE2 #C2E26A
analogous
#6A86E2 #8A6AE2 #C66AE2
triadic
#8A6AE2 #E28A6A #6AE28A
tetradic
#8A6AE2 #E26A86 #C2E26A #6AE2C6
square
#8A6AE2 #E26A86 #C2E26A #6AE2C6
split-complementary
#8A6AE2 #E2C66A #86E26A
monochromatic
#4822AF #6237D8 #8A6AE2 #B29DEC #DAD0F6

Accessibility & contrast

On white

4.01
#8A6AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8A6AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AE2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AE2#FFFFFF#000000##000000
##8A6AE21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3481E6
Deuteranopia (green-blind)
#3B7DDF
Tritanopia (blue-blind)
#73839C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a6ae2;
/* rgb */ color: rgb(138, 106, 226);
/* oklch */ color: oklch(61.3% 0.175 292.8);
Tailwind
colors: {
  custom: {
    50: '#b195ec',
    500: '#8a6ae2',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ae2;
$custom-light: #b195ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ae2",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 226
  },
  "hsl": {
    "h": 256,
    "s": 67.416,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61275,
    "c": 0.17529,
    "h": 292.8
  },
  "luminance": 0.21202
}

Semantic roles & 50–950 ramp

primary
#8A6AE2
secondary
#DDE8C0
accent
#CF169E
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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