#8A6AEB#8A6AEB

#8A6AEB is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.9% C 0.187 H 291.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8A6AEB
RGBrgb(138, 106, 235)
HSLhsl(255, 76%, 67%)
HSVhsv(255, 55%, 92%)
CMYKcmyk(41.3%, 54.9%, 0%, 7.8%)
CIE-LABlab(53.72, 42.28, -61.14)
CIE-LCHlch(53.72, 74.33, 304.67°)
OKLaboklab(61.86% 0.0682 -0.1739)
OKLCHoklch(61.86% 0.187 291.4)
XYZxyz(30.6266, 21.7086, 81.1577)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AEB #CBEB6A
analogous
#6A8BEB #8A6AEB #CB6AEB
triadic
#8A6AEB #EB8A6A #6AEB8A
tetradic
#8A6AEB #EB6A8B #CBEB6A #6AEBCB
square
#8A6AEB #EB6A8B #CBEB6A #6AEBCB
split-complementary
#8A6AEB #EBCB6A #8BEB6A
monochromatic
#431AC1 #6034E4 #8A6AEB #B4A0F2 #DFD6F9

Accessibility & contrast

On white

3.93
#8A6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8A6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AEB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AEB#FFFFFF#000000##000000
##8A6AEB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EF
Deuteranopia (green-blind)
#2F7EE8
Tritanopia (blue-blind)
#6F86A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6aeb;
/* rgb */ color: rgb(138, 106, 235);
/* oklch */ color: oklch(61.9% 0.187 291.4);
Tailwind
colors: {
  custom: {
    50: '#b195f2',
    500: '#8a6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #8a6aeb;
$custom-light: #b195f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6aeb",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 254.884,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.18675,
    "h": 291.4
  },
  "luminance": 0.2171
}

Semantic roles & 50–950 ramp

primary
#8A6AEB
secondary
#E3EDC4
accent
#D90DA6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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