#8B4CAF#8B4CAF

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

Color values

HEX#8B4CAF
RGBrgb(139, 76, 175)
HSLhsl(278, 39%, 49%)
HSVhsv(278, 57%, 69%)
CMYKcmyk(20.6%, 56.6%, 0%, 31.4%)
CIE-LABlab(43.88, 44.03, -42.47)
CIE-LCHlch(43.88, 61.17, 316.03°)
OKLaboklab(53.48% 0.1056 -0.1191)
OKLCHoklch(53.48% 0.159 311.6)
XYZxyz(20.9684, 13.7535, 42.0992)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CAF #70AF4C
analogous
#5A4CAF #8B4CAF #AF4CA2
triadic
#8B4CAF #AF8B4C #4CAF8B
tetradic
#8B4CAF #AF5A4C #70AF4C #4CA2AF
square
#8B4CAF #AF5A4C #70AF4C #4CA2AF
split-complementary
#8B4CAF #A2AF4C #4CAF5A
monochromatic
#47275A #693984 #8B4CAF #A775C3 #C2A0D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B4CAF#FFFFFF#000000##FFFFFF
##8B4CAF1.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)
#2E65B2
Deuteranopia (green-blind)
#4569AD
Tritanopia (blue-blind)
#875D76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b4caf;
/* rgb */ color: rgb(139, 76, 175);
/* oklch */ color: oklch(53.5% 0.159 311.6);
Tailwind
colors: {
  custom: {
    50: '#af81c7',
    500: '#8b4caf',
    950: '#000000',
  },
}
SCSS
$custom: #8b4caf;
$custom-light: #af81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4caf",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 278.182,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53481,
    "c": 0.15913,
    "h": 311.6
  },
  "luminance": 0.13753
}

Semantic roles & 50–950 ramp

primary
#8B4CAF
secondary
#A5C294
accent
#CF5884
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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