#8B4BB2#8B4BB2

#8B4BB2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.164 H 310.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8B4BB2
RGBrgb(139, 75, 178)
HSLhsl(277, 41%, 50%)
HSVhsv(277, 58%, 70%)
CMYKcmyk(21.9%, 57.9%, 0%, 30.2%)
CIE-LABlab(43.85, 45.24, -44.27)
CIE-LCHlch(43.85, 63.30, 315.62°)
OKLaboklab(53.52% 0.107 -0.1243)
OKLCHoklch(53.52% 0.164 310.7)
XYZxyz(21.1979, 13.7359, 43.6455)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BB2 #72B24B
analogous
#584BB2 #8B4BB2 #B24BA5
triadic
#8B4BB2 #B28B4B #4BB28B
tetradic
#8B4BB2 #B2584B #72B24B #4BA5B2
square
#8B4BB2 #B2584B #72B24B #4BA5B2
split-complementary
#8B4BB2 #A5B24B #4BB258
monochromatic
#48275C #693987 #8B4BB2 #A775C5 #C2A0D7

Accessibility & contrast

On white

5.60
#8B4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8B4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BB2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BB2#FFFFFF#000000##FFFFFF
##8B4BB21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#865E77
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b4bb2;
/* rgb */ color: rgb(139, 75, 178);
/* oklch */ color: oklch(53.5% 0.164 310.7);
Tailwind
colors: {
  custom: {
    50: '#b080c9',
    500: '#8b4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bb2;
$custom-light: #b080c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bb2",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 277.282,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.16405,
    "h": 310.7
  },
  "luminance": 0.13735
}

Semantic roles & 50–950 ramp

primary
#8B4BB2
secondary
#A7C495
accent
#D15785
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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