#8B5CBB#8B5CBB

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

Color values

HEX#8B5CBB
RGBrgb(139, 92, 187)
HSLhsl(270, 41%, 55%)
HSVhsv(270, 51%, 73%)
CMYKcmyk(25.7%, 50.8%, 0%, 26.7%)
CIE-LABlab(47.92, 38.05, -43.06)
CIE-LCHlch(47.92, 57.46, 311.47°)
OKLaboklab(56.68% 0.0846 -0.1208)
OKLCHoklch(56.68% 0.148 305)
XYZxyz(23.4423, 16.7312, 48.9985)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CBB #8CBB5C
analogous
#5C5DBB #8B5CBB #BB5CBB
triadic
#8B5CBB #BB8B5C #5CBB8B
tetradic
#8B5CBB #BB5C5D #8CBB5C #5CBBBB
square
#8B5CBB #BB5C5D #8CBB5C #5CBBBB
split-complementary
#8B5CBB #BBBB5C #5DBB5C
monochromatic
#4E2E6F #6C409A #8B5CBB #AA87CD #C8B2DF

Accessibility & contrast

On white

4.83
#8B5CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8B5CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5CBB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CBB#FFFFFF#000000##FFFFFF
##8B5CBB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#836D83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b5cbb;
/* rgb */ color: rgb(139, 92, 187);
/* oklch */ color: oklch(56.7% 0.148 305.0);
Tailwind
colors: {
  custom: {
    50: '#af8bd0',
    500: '#8b5cbb',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cbb;
$custom-light: #af8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cbb",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 269.684,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.14754,
    "h": 305
  },
  "luminance": 0.16731
}

Semantic roles & 50–950 ramp

primary
#8B5CBB
secondary
#BACDA5
accent
#D15795
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8B5CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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