#8B49C8#8B49C8

#8B49C8 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.191 H 304.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8B49C8
RGBrgb(139, 73, 200)
HSLhsl(271, 54%, 54%)
HSVhsv(271, 64%, 78%)
CMYKcmyk(30.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(44.84, 51.39, -55.52)
CIE-LCHlch(44.84, 75.66, 312.78°)
OKLaboklab(54.67% 0.1091 -0.1573)
OKLCHoklch(54.67% 0.191 304.7)
XYZxyz(23.4530, 14.4243, 56.1810)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B49C8 #86C849
analogous
#4B49C8 #8B49C8 #C849C5
triadic
#8B49C8 #C88B49 #49C88B
tetradic
#8B49C8 #C84B49 #86C849 #49C5C8
square
#8B49C8 #C84B49 #86C849 #49C5C8
split-complementary
#8B49C8 #C5C849 #49C84B
monochromatic
#4D2374 #6C31A3 #8B49C8 #A978D6 #C7A7E4

Accessibility & contrast

On white

5.41
#8B49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B49C8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B49C8#FFFFFF#000000##FFFFFF
##8B49C81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#276AC5
Tritanopia (blue-blind)
#806482
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b49c8;
/* rgb */ color: rgb(139, 73, 200);
/* oklch */ color: oklch(54.7% 0.191 304.7);
Tailwind
colors: {
  custom: {
    50: '#b17fd9',
    500: '#8b49c8',
    950: '#000000',
  },
}
SCSS
$custom: #8b49c8;
$custom-light: #b17fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b49c8",
  "rgb": {
    "r": 139,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 271.181,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54671,
    "c": 0.19144,
    "h": 304.7
  },
  "luminance": 0.14424
}

Semantic roles & 50–950 ramp

primary
#8B49C8
secondary
#B5D29B
accent
#DD4B91
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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