#8B5ACE#8B5ACE

#8B5ACE is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.174 H 300.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8B5ACE
RGBrgb(139, 90, 206)
HSLhsl(265, 54%, 58%)
HSVhsv(265, 56%, 81%)
CMYKcmyk(32.5%, 56.3%, 0%, 19.2%)
CIE-LABlab(48.58, 43.86, -52.96)
CIE-LCHlch(48.58, 68.76, 309.63°)
OKLaboklab(57.52% 0.0883 -0.1498)
OKLCHoklch(57.52% 0.174 300.5)
XYZxyz(25.4416, 17.2574, 60.3712)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5ACE #9DCE5A
analogous
#5A63CE #8B5ACE #C55ACE
triadic
#8B5ACE #CE8B5A #5ACE8B
tetradic
#8B5ACE #CE5A63 #9DCE5A #5ACEC5
square
#8B5ACE #CE5A63 #9DCE5A #5ACEC5
split-complementary
#8B5ACE #CEC55A #63CE5A
monochromatic
#4F2886 #6C36B5 #8B5ACE #AC89DC #CDB8EA

Accessibility & contrast

On white

4.72
#8B5ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8B5ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5ACE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5ACE#FFFFFF#000000##FFFFFF
##8B5ACE1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2773D2
Deuteranopia (green-blind)
#3A73CB
Tritanopia (blue-blind)
#7D718B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b5ace;
/* rgb */ color: rgb(139, 90, 206);
/* oklch */ color: oklch(57.5% 0.174 300.5);
Tailwind
colors: {
  custom: {
    50: '#b18ade',
    500: '#8b5ace',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ace;
$custom-light: #b18ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ace",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 265.345,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57524,
    "c": 0.17393,
    "h": 300.5
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

primary
#8B5ACE
secondary
#C5D9AB
accent
#DE4A9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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