#8B49E2#8B49E2

#8B49E2 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.220 H 298.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8B49E2
RGBrgb(139, 73, 226)
HSLhsl(266, 73%, 59%)
HSVhsv(266, 68%, 89%)
CMYKcmyk(38.5%, 67.7%, 0%, 11.4%)
CIE-LABlab(46.64, 57.69, -67.50)
CIE-LCHlch(46.64, 88.80, 310.52°)
OKLaboklab(56.54% 0.1063 -0.1925)
OKLCHoklch(56.54% 0.22 298.9)
XYZxyz(26.7540, 15.7447, 73.5663)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B49E2 #A0E249
analogous
#4953E2 #8B49E2 #D749E2
triadic
#8B49E2 #E28B49 #49E28B
tetradic
#8B49E2 #E24953 #A0E249 #49E2D7
square
#8B49E2 #E24953 #A0E249 #49E2D7
split-complementary
#8B49E2 #E2D749 #53E249
monochromatic
#501898 #6B21CD #8B49E2 #AD7EEA #CEB3F3

Accessibility & contrast

On white

5.06
#8B49E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8B49E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B49E2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B49E2#FFFFFF#000000##FFFFFF
##8B49E21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#776D90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b49e2;
/* rgb */ color: rgb(139, 73, 226);
/* oklch */ color: oklch(56.5% 0.220 298.9);
Tailwind
colors: {
  custom: {
    50: '#b380ec',
    500: '#8b49e2',
    950: '#000000',
  },
}
SCSS
$custom: #8b49e2;
$custom-light: #b380ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8b49e2",
  "rgb": {
    "r": 139,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 265.882,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.21995,
    "h": 298.9
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#8B49E2
secondary
#C8E2A5
accent
#EF39A0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B49E2

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

Preview Lab → · Contrast checker → · Palette generator →

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