#8B49E3#8B49E3

#8B49E3 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.221 H 298.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8B49E3
RGBrgb(139, 73, 227)
HSLhsl(266, 73%, 59%)
HSVhsv(266, 68%, 89%)
CMYKcmyk(38.8%, 67.8%, 0%, 11%)
CIE-LABlab(46.71, 57.94, -67.95)
CIE-LCHlch(46.71, 89.30, 310.45°)
OKLaboklab(56.61% 0.1062 -0.1938)
OKLCHoklch(56.61% 0.221 298.7)
XYZxyz(26.8916, 15.7997, 74.2910)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B49E3 #A1E349
analogous
#4954E3 #8B49E3 #D849E3
triadic
#8B49E3 #E38B49 #49E38B
tetradic
#8B49E3 #E34954 #A1E349 #49E3D8
square
#8B49E3 #E34954 #A1E349 #49E3D8
split-complementary
#8B49E3 #E3D849 #54E349
monochromatic
#4F189A #6B20CF #8B49E3 #AD7EEB #CFB3F3

Accessibility & contrast

On white

5.05
#8B49E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8B49E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B49E3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B49E3#FFFFFF#000000##FFFFFF
##8B49E31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006DE0
Tritanopia (blue-blind)
#766E90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b49e3;
/* rgb */ color: rgb(139, 73, 227);
/* oklch */ color: oklch(56.6% 0.221 298.7);
Tailwind
colors: {
  custom: {
    50: '#b380ed',
    500: '#8b49e3',
    950: '#000000',
  },
}
SCSS
$custom: #8b49e3;
$custom-light: #b380ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8b49e3",
  "rgb": {
    "r": 139,
    "g": 73,
    "b": 227
  },
  "hsl": {
    "h": 265.714,
    "s": 73.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56612,
    "c": 0.22103,
    "h": 298.7
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#8B49E3
secondary
#C8E2A6
accent
#F038A1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B49E3

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

Preview Lab → · Contrast checker → · Palette generator →

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