#8B49CA#8B49CA

#8B49CA is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.8% C 0.194 H 304.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8B49CA
RGBrgb(139, 73, 202)
HSLhsl(271, 55%, 54%)
HSVhsv(271, 64%, 79%)
CMYKcmyk(31.2%, 63.9%, 0%, 20.8%)
CIE-LABlab(44.97, 51.86, -56.47)
CIE-LCHlch(44.97, 76.67, 312.57°)
OKLaboklab(54.81% 0.109 -0.1601)
OKLCHoklch(54.81% 0.194 304.2)
XYZxyz(23.6883, 14.5184, 57.4200)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B49CA #88CA49
analogous
#4B49CA #8B49CA #CA49C9
triadic
#8B49CA #CA8B49 #49CA8B
tetradic
#8B49CA #CA4B49 #88CA49 #49C9CA
square
#8B49CA #CA4B49 #88CA49 #49C9CA
split-complementary
#8B49CA #C9CA49 #49CA4B
monochromatic
#4D2276 #6C30A6 #8B49CA #A978D8 #C7A8E6

Accessibility & contrast

On white

5.38
#8B49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8B49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B49CA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B49CA#FFFFFF#000000##FFFFFF
##8B49CA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#246AC7
Tritanopia (blue-blind)
#7F6583
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b49ca;
/* rgb */ color: rgb(139, 73, 202);
/* oklch */ color: oklch(54.8% 0.194 304.2);
Tailwind
colors: {
  custom: {
    50: '#b180db',
    500: '#8b49ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b49ca;
$custom-light: #b180db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b49ca",
  "rgb": {
    "r": 139,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 270.698,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.19365,
    "h": 304.2
  },
  "luminance": 0.14518
}

Semantic roles & 50–950 ramp

primary
#8B49CA
secondary
#B7D39C
accent
#DE4A92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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