#8A5BC0#8A5BC0

#8A5BC0 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.155 H 303.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A5BC0
RGBrgb(138, 91, 192)
HSLhsl(268, 44%, 55%)
HSVhsv(268, 53%, 75%)
CMYKcmyk(28.1%, 52.6%, 0%, 24.7%)
CIE-LABlab(47.87, 39.56, -46.04)
CIE-LCHlch(47.87, 60.71, 310.67°)
OKLaboklab(56.71% 0.0851 -0.1296)
OKLCHoklch(56.71% 0.155 303.3)
XYZxyz(23.7346, 16.6913, 51.8303)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5BC0 #91C05B
analogous
#5B5EC0 #8A5BC0 #BC5BC0
triadic
#8A5BC0 #C08A5B #5BC08A
tetradic
#8A5BC0 #C05B5E #91C05B #5BC0BC
square
#8A5BC0 #C05B5E #91C05B #5BC0BC
split-complementary
#8A5BC0 #C0BC5B #5EC05B
monochromatic
#4E2D74 #6B3EA0 #8A5BC0 #AA87D1 #C9B3E2

Accessibility & contrast

On white

4.84
#8A5BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8A5BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5BC0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5BC0#FFFFFF#000000##FFFFFF
##8A5BC01.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3971C3
Deuteranopia (green-blind)
#4771BE
Tritanopia (blue-blind)
#806E85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a5bc0;
/* rgb */ color: rgb(138, 91, 192);
/* oklch */ color: oklch(56.7% 0.155 303.3);
Tailwind
colors: {
  custom: {
    50: '#af8bd3',
    500: '#8a5bc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a5bc0;
$custom-light: #af8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5bc0",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 267.921,
    "s": 44.493,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56708,
    "c": 0.15506,
    "h": 303.3
  },
  "luminance": 0.16691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A5BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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