#8B5AC8#8B5AC8

#8B5AC8 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.167 H 301.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8B5AC8
RGBrgb(139, 90, 200)
HSLhsl(267, 50%, 57%)
HSVhsv(267, 55%, 78%)
CMYKcmyk(30.5%, 55%, 0%, 21.6%)
CIE-LABlab(48.22, 42.36, -50.09)
CIE-LCHlch(48.22, 65.60, 310.22°)
OKLaboklab(57.15% 0.0882 -0.1414)
OKLCHoklch(57.15% 0.167 301.9)
XYZxyz(24.7266, 16.9714, 56.6055)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5AC8 #97C85A
analogous
#5A60C8 #8B5AC8 #C25AC8
triadic
#8B5AC8 #C88B5A #5AC88B
tetradic
#8B5AC8 #C85A60 #97C85A #5AC8C2
square
#8B5AC8 #C85A60 #97C85A #5AC8C2
split-complementary
#8B5AC8 #C8C25A #60C85A
monochromatic
#4F2A7E #6C39AC #8B5AC8 #AB88D7 #CCB6E7

Accessibility & contrast

On white

4.78
#8B5AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8B5AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5AC8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5AC8#FFFFFF#000000##FFFFFF
##8B5AC81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#4072C5
Tritanopia (blue-blind)
#7F6F88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b5ac8;
/* rgb */ color: rgb(139, 90, 200);
/* oklch */ color: oklch(57.1% 0.167 301.9);
Tailwind
colors: {
  custom: {
    50: '#b08ad9',
    500: '#8b5ac8',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ac8;
$custom-light: #b08ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ac8",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 266.727,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.16664,
    "h": 301.9
  },
  "luminance": 0.16971
}

Semantic roles & 50–950 ramp

primary
#8B5AC8
secondary
#C1D5A8
accent
#DA4E9B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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