#8A6FBE#8A6FBE

#8A6FBE is a mid, moderate violet. Relative luminance 0.205; OKLCH L 60.1% C 0.120 H 298.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8A6FBE
RGBrgb(138, 111, 190)
HSLhsl(261, 38%, 59%)
HSVhsv(261, 42%, 75%)
CMYKcmyk(27.4%, 41.6%, 0%, 25.5%)
CIE-LABlab(52.39, 27.53, -37.74)
CIE-LCHlch(52.39, 46.71, 306.11°)
OKLaboklab(60.06% 0.0572 -0.1054)
OKLCHoklch(60.06% 0.12 298.5)
XYZxyz(25.4578, 20.4897, 51.3189)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FBE #A3BE6F
analogous
#6F7CBE #8A6FBE #B26FBE
triadic
#8A6FBE #BE8A6F #6FBE8A
tetradic
#8A6FBE #BE6F7C #A3BE6F #6FBEB2
square
#8A6FBE #BE6F7C #A3BE6F #6FBEB2
split-complementary
#8A6FBE #BEB26F #7CBE6F
monochromatic
#4F387B #6A4BA5 #8A6FBE #AC99D1 #CFC3E4

Accessibility & contrast

On white

4.12
#8A6FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8A6FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FBE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FBE#FFFFFF#000000##000000
##8A6FBE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC1
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#807D8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a6fbe;
/* rgb */ color: rgb(138, 111, 190);
/* oklch */ color: oklch(60.1% 0.120 298.5);
Tailwind
colors: {
  custom: {
    50: '#ae98d2',
    500: '#8a6fbe',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fbe;
$custom-light: #ae98d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fbe",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 190
  },
  "hsl": {
    "h": 260.506,
    "s": 37.799,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60056,
    "c": 0.11995,
    "h": 298.5
  },
  "luminance": 0.2049
}

Semantic roles & 50–950 ramp

primary
#8A6FBE
secondary
#C9D4B5
accent
#CE5AA6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A6FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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