#8B4BCA#8B4BCA

#8B4BCA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.1% C 0.191 H 304.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8B4BCA
RGBrgb(139, 75, 202)
HSLhsl(270, 55%, 54%)
HSVhsv(270, 63%, 79%)
CMYKcmyk(31.2%, 62.9%, 0%, 20.8%)
CIE-LABlab(45.34, 50.85, -55.87)
CIE-LCHlch(45.34, 75.55, 312.31°)
OKLaboklab(55.08% 0.1066 -0.1583)
OKLCHoklch(55.08% 0.191 304)
XYZxyz(23.8218, 14.7855, 57.4646)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BCA #8ACA4B
analogous
#4C4BCA #8B4BCA #CA4BCA
triadic
#8B4BCA #CA8B4B #4BCA8B
tetradic
#8B4BCA #CA4C4B #8ACA4B #4BCACA
square
#8B4BCA #CA4C4B #8ACA4B #4BCACA
split-complementary
#8B4BCA #CACA4B #4BCA4C
monochromatic
#4E2377 #6C31A7 #8B4BCA #A97AD8 #C8AAE6

Accessibility & contrast

On white

5.31
#8B4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8B4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BCA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BCA#FFFFFF#000000##FFFFFF
##8B4BCA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#276BC7
Tritanopia (blue-blind)
#7F6684
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b4bca;
/* rgb */ color: rgb(139, 75, 202);
/* oklch */ color: oklch(55.1% 0.191 304.0);
Tailwind
colors: {
  custom: {
    50: '#b181db',
    500: '#8b4bca',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bca;
$custom-light: #b181db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bca",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 270.236,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55077,
    "c": 0.1909,
    "h": 304
  },
  "luminance": 0.14785
}

Semantic roles & 50–950 ramp

primary
#8B4BCA
secondary
#B8D39D
accent
#DE4A93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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