#8B6FBA#8B6FBA

#8B6FBA is a mid, moderate violet. Relative luminance 0.204; OKLCH L 59.9% C 0.115 H 300.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8B6FBA
RGBrgb(139, 111, 186)
HSLhsl(262, 35%, 58%)
HSVhsv(262, 40%, 73%)
CMYKcmyk(25.3%, 40.3%, 0%, 27.1%)
CIE-LABlab(52.29, 26.83, -35.58)
CIE-LCHlch(52.29, 44.56, 307.02°)
OKLaboklab(59.94% 0.0577 -0.0992)
OKLCHoklch(59.94% 0.115 300.2)
XYZxyz(25.1928, 20.4029, 49.0558)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B6FBA #9EBA6F
analogous
#6F78BA #8B6FBA #B06FBA
triadic
#8B6FBA #BA8B6F #6FBA8B
tetradic
#8B6FBA #BA6F78 #9EBA6F #6FBAB0
square
#8B6FBA #BA6F78 #9EBA6F #6FBAB0
split-complementary
#8B6FBA #BAB06F #78BA6F
monochromatic
#503976 #6B4C9F #8B6FBA #AC98CE #CEC2E2

Accessibility & contrast

On white

4.13
#8B6FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8B6FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B6FBA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B6FBA#FFFFFF#000000##000000
##8B6FBA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBD
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#827C8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b6fba;
/* rgb */ color: rgb(139, 111, 186);
/* oklch */ color: oklch(59.9% 0.115 300.2);
Tailwind
colors: {
  custom: {
    50: '#ae98cf',
    500: '#8b6fba',
    950: '#000000',
  },
}
SCSS
$custom: #8b6fba;
$custom-light: #ae98cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b6fba",
  "rgb": {
    "r": 139,
    "g": 111,
    "b": 186
  },
  "hsl": {
    "h": 262.4,
    "s": 35.211,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59943,
    "c": 0.11471,
    "h": 300.2
  },
  "luminance": 0.20403
}

Semantic roles & 50–950 ramp

primary
#8B6FBA
secondary
#C6D1B3
accent
#CB5DA2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8B6FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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