#8A5BBE#8A5BBE

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

Color values

HEX#8A5BBE
RGBrgb(138, 91, 190)
HSLhsl(268, 43%, 55%)
HSVhsv(268, 52%, 75%)
CMYKcmyk(27.4%, 52.1%, 0%, 25.5%)
CIE-LABlab(47.76, 39.07, -45.06)
CIE-LCHlch(47.76, 59.64, 310.93°)
OKLaboklab(56.59% 0.085 -0.1267)
OKLCHoklch(56.59% 0.153 303.8)
XYZxyz(23.5145, 16.6032, 50.6712)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5BBE #8FBE5B
analogous
#5B5EBE #8A5BBE #BB5BBE
triadic
#8A5BBE #BE8A5B #5BBE8A
tetradic
#8A5BBE #BE5B5E #8FBE5B #5BBEBB
square
#8A5BBE #BE5B5E #8FBE5B #5BBEBB
split-complementary
#8A5BBE #BEBB5B #5EBE5B
monochromatic
#4E2D72 #6C3E9D #8A5BBE #A987CF #C9B3E1

Accessibility & contrast

On white

4.86
#8A5BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8A5BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5BBE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5BBE#FFFFFF#000000##FFFFFF
##8A5BBE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B70C1
Deuteranopia (green-blind)
#4971BC
Tritanopia (blue-blind)
#816D84
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a5bbe;
/* rgb */ color: rgb(138, 91, 190);
/* oklch */ color: oklch(56.6% 0.153 303.8);
Tailwind
colors: {
  custom: {
    50: '#af8bd2',
    500: '#8a5bbe',
    950: '#000000',
  },
}
SCSS
$custom: #8a5bbe;
$custom-light: #af8bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5bbe",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 268.485,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.1526,
    "h": 303.8
  },
  "luminance": 0.16603
}

Semantic roles & 50–950 ramp

primary
#8A5BBE
secondary
#BBCFA6
accent
#D35597
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A5BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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