#8A6BE0#8A6BE0

#8A6BE0 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.3% C 0.171 H 292.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8A6BE0
RGBrgb(138, 107, 224)
HSLhsl(256, 65%, 65%)
HSVhsv(256, 52%, 88%)
CMYKcmyk(38.4%, 52.2%, 0%, 12.2%)
CIE-LABlab(53.28, 38.74, -55.67)
CIE-LCHlch(53.28, 67.82, 304.83°)
OKLaboklab(61.32% 0.0665 -0.1578)
OKLCHoklch(61.32% 0.171 292.9)
XYZxyz(29.1899, 21.2998, 73.0799)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BE0 #C1E06B
analogous
#6B87E0 #8A6BE0 #C46BE0
triadic
#8A6BE0 #E08A6B #6BE08A
tetradic
#8A6BE0 #E06B87 #C1E06B #6BE0C4
square
#8A6BE0 #E06B87 #C1E06B #6BE0C4
split-complementary
#8A6BE0 #E0C46B #87E06B
monochromatic
#4824AC #6238D5 #8A6BE0 #B29EEB #DAD0F5

Accessibility & contrast

On white

3.99
#8A6BE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8A6BE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BE0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BE0#FFFFFF#000000##000000
##8A6BE01.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3981E4
Deuteranopia (green-blind)
#3F7DDD
Tritanopia (blue-blind)
#74839B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a6be0;
/* rgb */ color: rgb(138, 107, 224);
/* oklch */ color: oklch(61.3% 0.171 292.9);
Tailwind
colors: {
  custom: {
    50: '#b096ea',
    500: '#8a6be0',
    950: '#000000',
  },
}
SCSS
$custom: #8a6be0;
$custom-light: #b096ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6be0",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 224
  },
  "hsl": {
    "h": 255.897,
    "s": 65.363,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61316,
    "c": 0.17126,
    "h": 292.9
  },
  "luminance": 0.213
}

Semantic roles & 50–950 ramp

primary
#8A6BE0
secondary
#DDE7BF
accent
#CD189D
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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