#8B49CC#8B49CC

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

Color values

HEX#8B49CC
RGBrgb(139, 73, 204)
HSLhsl(270, 56%, 54%)
HSVhsv(270, 64%, 80%)
CMYKcmyk(31.9%, 64.2%, 0%, 20%)
CIE-LABlab(45.10, 52.34, -57.41)
CIE-LCHlch(45.10, 77.69, 312.36°)
OKLaboklab(54.95% 0.1088 -0.1628)
OKLCHoklch(54.95% 0.196 303.7)
XYZxyz(23.9266, 14.6137, 58.6753)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B49CC #8ACC49
analogous
#4A49CC #8B49CC #CC49CC
triadic
#8B49CC #CC8B49 #49CC8B
tetradic
#8B49CC #CC4A49 #8ACC49 #49CCCC
square
#8B49CC #CC4A49 #8ACC49 #49CCCC
split-complementary
#8B49CC #CCCC49 #49CC4A
monochromatic
#4E2279 #6C2FA9 #8B49CC #A979D9 #C8A9E7

Accessibility & contrast

On white

5.35
#8B49CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8B49CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B49CC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B49CC#FFFFFF#000000##FFFFFF
##8B49CC1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#206BC9
Tritanopia (blue-blind)
#7F6584
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b49cc;
/* rgb */ color: rgb(139, 73, 204);
/* oklch */ color: oklch(54.9% 0.196 303.7);
Tailwind
colors: {
  custom: {
    50: '#b180dc',
    500: '#8b49cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b49cc;
$custom-light: #b180dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b49cc",
  "rgb": {
    "r": 139,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 270.229,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54947,
    "c": 0.19586,
    "h": 303.7
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#8B49CC
secondary
#B8D49D
accent
#E04893
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B49CC

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

Preview Lab → · Contrast checker → · Palette generator →

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