#8A5BBF#8A5BBF

#8A5BBF is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.154 H 303.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A5BBF
RGBrgb(138, 91, 191)
HSLhsl(268, 44%, 55%)
HSVhsv(268, 52%, 75%)
CMYKcmyk(27.7%, 52.4%, 0%, 25.1%)
CIE-LABlab(47.81, 39.32, -45.55)
CIE-LCHlch(47.81, 60.17, 310.80°)
OKLaboklab(56.65% 0.0851 -0.1282)
OKLCHoklch(56.65% 0.154 303.6)
XYZxyz(23.6242, 16.6471, 51.2487)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5BBF #90BF5B
analogous
#5B5EBF #8A5BBF #BC5BBF
triadic
#8A5BBF #BF8A5B #5BBF8A
tetradic
#8A5BBF #BF5B5E #90BF5B #5BBFBC
square
#8A5BBF #BF5B5E #90BF5B #5BBFBC
split-complementary
#8A5BBF #BFBC5B #5EBF5B
monochromatic
#4E2D73 #6B3E9F #8A5BBF #A987D0 #C9B3E1

Accessibility & contrast

On white

4.85
#8A5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8A5BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5BBF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5BBF#FFFFFF#000000##FFFFFF
##8A5BBF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C2
Deuteranopia (green-blind)
#4871BD
Tritanopia (blue-blind)
#816D84
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a5bbf;
/* rgb */ color: rgb(138, 91, 191);
/* oklch */ color: oklch(56.6% 0.154 303.6);
Tailwind
colors: {
  custom: {
    50: '#af8bd3',
    500: '#8a5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a5bbf;
$custom-light: #af8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5bbf",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 268.2,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56648,
    "c": 0.15383,
    "h": 303.6
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#8A5BBF
secondary
#BCD0A6
accent
#D45498
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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