#8A5BD3#8A5BD3

#8A5BD3 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.178 H 298.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A5BD3
RGBrgb(138, 91, 211)
HSLhsl(264, 58%, 59%)
HSVhsv(264, 57%, 83%)
CMYKcmyk(34.6%, 56.9%, 0%, 17.3%)
CIE-LABlab(48.99, 44.34, -55.16)
CIE-LCHlch(48.99, 70.77, 308.79°)
OKLaboklab(57.9% 0.0859 -0.1563)
OKLCHoklch(57.9% 0.178 298.8)
XYZxyz(25.9773, 17.5883, 63.6417)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5BD3 #A4D35B
analogous
#5B68D3 #8A5BD3 #C65BD3
triadic
#8A5BD3 #D38A5B #5BD38A
tetradic
#8A5BD3 #D35B68 #A4D35B #5BD3C6
square
#8A5BD3 #D35B68 #A4D35B #5BD3C6
split-complementary
#8A5BD3 #D3C65B #68D35B
monochromatic
#4F268E #6933BE #8A5BD3 #AC8BE0 #CFBCED

Accessibility & contrast

On white

4.65
#8A5BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8A5BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5BD3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5BD3#FFFFFF#000000##FFFFFF
##8A5BD31.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2174D7
Deuteranopia (green-blind)
#3473D0
Tritanopia (blue-blind)
#7A748E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a5bd3;
/* rgb */ color: rgb(138, 91, 211);
/* oklch */ color: oklch(57.9% 0.178 298.8);
Tailwind
colors: {
  custom: {
    50: '#b08be1',
    500: '#8a5bd3',
    950: '#000000',
  },
}
SCSS
$custom: #8a5bd3;
$custom-light: #b08be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5bd3",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 263.5,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.579,
    "c": 0.17836,
    "h": 298.8
  },
  "luminance": 0.17589
}

Semantic roles & 50–950 ramp

primary
#8A5BD3
secondary
#CADCAD
accent
#E147A5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A5BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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