#8B49CB#8B49CB

#8B49CB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.195 H 304.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8B49CB
RGBrgb(139, 73, 203)
HSLhsl(270, 56%, 54%)
HSVhsv(270, 64%, 80%)
CMYKcmyk(31.5%, 64%, 0%, 20.4%)
CIE-LABlab(45.03, 52.10, -56.94)
CIE-LCHlch(45.03, 77.18, 312.46°)
OKLaboklab(54.88% 0.1089 -0.1615)
OKLCHoklch(54.88% 0.195 304)
XYZxyz(23.8071, 14.5659, 58.0456)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B49CB #89CB49
analogous
#4A49CB #8B49CB #CB49CA
triadic
#8B49CB #CB8B49 #49CB8B
tetradic
#8B49CB #CB4A49 #89CB49 #49CACB
square
#8B49CB #CB4A49 #89CB49 #49CACB
split-complementary
#8B49CB #CACB49 #49CB4A
monochromatic
#4D2277 #6C30A7 #8B49CB #A979D9 #C8A8E6

Accessibility & contrast

On white

5.37
#8B49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8B49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B49CB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B49CB#FFFFFF#000000##FFFFFF
##8B49CB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#226AC8
Tritanopia (blue-blind)
#7F6583
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b49cb;
/* rgb */ color: rgb(139, 73, 203);
/* oklch */ color: oklch(54.9% 0.195 304.0);
Tailwind
colors: {
  custom: {
    50: '#b180dc',
    500: '#8b49cb',
    950: '#000000',
  },
}
SCSS
$custom: #8b49cb;
$custom-light: #b180dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b49cb",
  "rgb": {
    "r": 139,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 270.462,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54878,
    "c": 0.19475,
    "h": 304
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#8B49CB
secondary
#B7D49C
accent
#DF4993
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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