#8B4CBE#8B4CBE

#8B4CBE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.176 H 307.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8B4CBE
RGBrgb(139, 76, 190)
HSLhsl(273, 47%, 52%)
HSVhsv(273, 60%, 75%)
CMYKcmyk(26.8%, 60%, 0%, 25.5%)
CIE-LABlab(44.77, 47.49, -49.83)
CIE-LCHlch(44.77, 68.83, 313.62°)
OKLaboklab(54.42% 0.1059 -0.1406)
OKLCHoklch(54.42% 0.176 307)
XYZxyz(22.5242, 14.3758, 50.2934)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CBE #7FBE4C
analogous
#524CBE #8B4CBE #BE4CB8
triadic
#8B4CBE #BE8B4C #4CBE8B
tetradic
#8B4CBE #BE524C #7FBE4C #4CB8BE
square
#8B4CBE #BE524C #7FBE4C #4CB8BE
split-complementary
#8B4CBE #B8BE4C #4CBE52
monochromatic
#4B2669 #6B3796 #8B4CBE #A879CE #C5A6DF

Accessibility & contrast

On white

5.42
#8B4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8B4CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CBE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CBE#FFFFFF#000000##FFFFFF
##8B4CBE1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C2
Deuteranopia (green-blind)
#386ABB
Tritanopia (blue-blind)
#83627E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b4cbe;
/* rgb */ color: rgb(139, 76, 190);
/* oklch */ color: oklch(54.4% 0.176 307.0);
Tailwind
colors: {
  custom: {
    50: '#b081d2',
    500: '#8b4cbe',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cbe;
$custom-light: #b081d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cbe",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 273.158,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.17601,
    "h": 307
  },
  "luminance": 0.14376
}

Semantic roles & 50–950 ramp

primary
#8B4CBE
secondary
#B0CC9A
accent
#D6518D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8B4CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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