#8A6FBF#8A6FBF

#8A6FBF is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.1% C 0.121 H 298.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A6FBF
RGBrgb(138, 111, 191)
HSLhsl(260, 38%, 59%)
HSVhsv(260, 42%, 75%)
CMYKcmyk(27.7%, 41.9%, 0%, 25.1%)
CIE-LABlab(52.44, 27.79, -38.24)
CIE-LCHlch(52.44, 47.27, 306.01°)
OKLaboklab(60.11% 0.0574 -0.1069)
OKLCHoklch(60.11% 0.121 298.2)
XYZxyz(25.5674, 20.5335, 51.8965)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FBF #A4BF6F
analogous
#6F7CBF #8A6FBF #B26FBF
triadic
#8A6FBF #BF8A6F #6FBF8A
tetradic
#8A6FBF #BF6F7C #A4BF6F #6FBFB2
square
#8A6FBF #BF6F7C #A4BF6F #6FBFB2
split-complementary
#8A6FBF #BFB26F #7CBF6F
monochromatic
#4F377C #694AA7 #8A6FBF #AC99D2 #CFC4E5

Accessibility & contrast

On white

4.11
#8A6FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8A6FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FBF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FBF#FFFFFF#000000##000000
##8A6FBF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#5E7CBD
Tritanopia (blue-blind)
#7F7D8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a6fbf;
/* rgb */ color: rgb(138, 111, 191);
/* oklch */ color: oklch(60.1% 0.121 298.2);
Tailwind
colors: {
  custom: {
    50: '#ae98d2',
    500: '#8a6fbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fbf;
$custom-light: #ae98d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fbf",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 191
  },
  "hsl": {
    "h": 260.25,
    "s": 38.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60109,
    "c": 0.1213,
    "h": 298.2
  },
  "luminance": 0.20534
}

Semantic roles & 50–950 ramp

primary
#8A6FBF
secondary
#CAD5B5
accent
#CE59A7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A6FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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