#8A6AE1#8A6AE1

#8A6AE1 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.2% C 0.174 H 292.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A6AE1
RGBrgb(138, 106, 225)
HSLhsl(256, 66%, 65%)
HSVhsv(256, 53%, 88%)
CMYKcmyk(38.7%, 52.9%, 0%, 11.8%)
CIE-LABlab(53.11, 39.58, -56.50)
CIE-LCHlch(53.11, 68.98, 305.01°)
OKLaboklab(61.21% 0.0678 -0.1602)
OKLCHoklch(61.21% 0.174 292.9)
XYZxyz(29.2223, 21.1469, 73.7617)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AE1 #C1E16A
analogous
#6A86E1 #8A6AE1 #C56AE1
triadic
#8A6AE1 #E18A6A #6AE18A
tetradic
#8A6AE1 #E16A86 #C1E16A #6AE1C5
square
#8A6AE1 #E16A86 #C1E16A #6AE1C5
split-complementary
#8A6AE1 #E1C56A #86E16A
monochromatic
#4823AE #6237D7 #8A6AE1 #B29DEB #DAD0F6

Accessibility & contrast

On white

4.02
#8A6AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A6AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AE1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AE1#FFFFFF#000000##000000
##8A6AE11.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3580E5
Deuteranopia (green-blind)
#3C7DDE
Tritanopia (blue-blind)
#74839B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a6ae1;
/* rgb */ color: rgb(138, 106, 225);
/* oklch */ color: oklch(61.2% 0.174 292.9);
Tailwind
colors: {
  custom: {
    50: '#b195eb',
    500: '#8a6ae1',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ae1;
$custom-light: #b195eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ae1",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 225
  },
  "hsl": {
    "h": 256.134,
    "s": 66.48,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61212,
    "c": 0.17401,
    "h": 292.9
  },
  "luminance": 0.21148
}

Semantic roles & 50–950 ramp

primary
#8A6AE1
secondary
#DDE8BF
accent
#CE179D
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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