#8A6EBE#8A6EBE

#8A6EBE is a mid, vivid violet. Relative luminance 0.203; OKLCH L 59.9% C 0.122 H 298.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8A6EBE
RGBrgb(138, 110, 190)
HSLhsl(261, 38%, 59%)
HSVhsv(261, 42%, 75%)
CMYKcmyk(27.4%, 42.1%, 0%, 25.5%)
CIE-LABlab(52.14, 28.12, -38.12)
CIE-LCHlch(52.14, 47.37, 306.42°)
OKLaboklab(59.87% 0.0586 -0.1065)
OKLCHoklch(59.87% 0.122 298.8)
XYZxyz(25.3493, 20.2727, 51.2827)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EBE #A2BE6E
analogous
#6E7ABE #8A6EBE #B26EBE
triadic
#8A6EBE #BE8A6E #6EBE8A
tetradic
#8A6EBE #BE6E7A #A2BE6E #6EBEB2
square
#8A6EBE #BE6E7A #A2BE6E #6EBEB2
split-complementary
#8A6EBE #BEB26E #7ABE6E
monochromatic
#4F377B #6A4AA5 #8A6EBE #AC98D1 #CEC3E4

Accessibility & contrast

On white

4.15
#8A6EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8A6EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EBE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EBE#FFFFFF#000000##000000
##8A6EBE1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#587CC1
Deuteranopia (green-blind)
#5D7CBC
Tritanopia (blue-blind)
#807C8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a6ebe;
/* rgb */ color: rgb(138, 110, 190);
/* oklch */ color: oklch(59.9% 0.122 298.8);
Tailwind
colors: {
  custom: {
    50: '#ae98d2',
    500: '#8a6ebe',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ebe;
$custom-light: #ae98d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ebe",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 190
  },
  "hsl": {
    "h": 261,
    "s": 38.095,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59873,
    "c": 0.1216,
    "h": 298.8
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

primary
#8A6EBE
secondary
#C9D4B4
accent
#CE5AA5
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A6EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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