#8A6AEC#8A6AEC

#8A6AEC is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.9% C 0.188 H 291.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A6AEC
RGBrgb(138, 106, 236)
HSLhsl(255, 77%, 67%)
HSVhsv(255, 55%, 93%)
CMYKcmyk(41.5%, 55.1%, 0%, 7.5%)
CIE-LABlab(53.78, 42.56, -61.60)
CIE-LCHlch(53.78, 74.87, 304.64°)
OKLaboklab(61.92% 0.0682 -0.1752)
OKLCHoklch(61.92% 0.188 291.3)
XYZxyz(30.7714, 21.7665, 81.9207)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AEC #CCEC6A
analogous
#6A8BEC #8A6AEC #CB6AEC
triadic
#8A6AEC #EC8A6A #6AEC8A
tetradic
#8A6AEC #EC6A8B #CCEC6A #6AECCB
square
#8A6AEC #EC6A8B #CCEC6A #6AECCB
split-complementary
#8A6AEC #ECCB6A #8BEC6A
monochromatic
#4319C3 #5F34E5 #8A6AEC #B5A0F3 #DFD7FA

Accessibility & contrast

On white

3.92
#8A6AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8A6AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AEC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AEC#FFFFFF#000000##000000
##8A6AEC1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2583F0
Deuteranopia (green-blind)
#2D7EE9
Tritanopia (blue-blind)
#6F86A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6aec;
/* rgb */ color: rgb(138, 106, 236);
/* oklch */ color: oklch(61.9% 0.188 291.3);
Tailwind
colors: {
  custom: {
    50: '#b295f3',
    500: '#8a6aec',
    950: '#000000',
  },
}
SCSS
$custom: #8a6aec;
$custom-light: #b295f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6aec",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 254.769,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.18802,
    "h": 291.3
  },
  "luminance": 0.21767
}

Semantic roles & 50–950 ramp

primary
#8A6AEC
secondary
#E3EEC4
accent
#DA0CA7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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