#8B49E6#8B49E6

#8B49E6 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.224 H 298.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8B49E6
RGBrgb(139, 73, 230)
HSLhsl(265, 76%, 59%)
HSVhsv(265, 68%, 90%)
CMYKcmyk(39.6%, 68.3%, 0%, 9.8%)
CIE-LABlab(46.93, 58.68, -69.29)
CIE-LCHlch(46.93, 90.80, 310.26°)
OKLaboklab(56.84% 0.1057 -0.1978)
OKLCHoklch(56.84% 0.224 298.1)
XYZxyz(27.3093, 15.9668, 76.4907)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B49E6 #A4E649
analogous
#4956E6 #8B49E6 #DA49E6
triadic
#8B49E6 #E68B49 #49E68B
tetradic
#8B49E6 #E64956 #A4E649 #49E6DA
square
#8B49E6 #E64956 #A4E649 #49E6DA
split-complementary
#8B49E6 #E6DA49 #56E649
monochromatic
#4F169F #6A1DD5 #8B49E6 #AD7FED #D0B5F5

Accessibility & contrast

On white

5.01
#8B49E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8B49E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B49E6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B49E6#FFFFFF#000000##FFFFFF
##8B49E61.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#756F92
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b49e6;
/* rgb */ color: rgb(139, 73, 230);
/* oklch */ color: oklch(56.8% 0.224 298.1);
Tailwind
colors: {
  custom: {
    50: '#b480ef',
    500: '#8b49e6',
    950: '#000000',
  },
}
SCSS
$custom: #8b49e6;
$custom-light: #b480ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8b49e6",
  "rgb": {
    "r": 139,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 265.223,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.22428,
    "h": 298.1
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#8B49E6
secondary
#CAE4A7
accent
#F235A3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B49E6

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

Preview Lab → · Contrast checker → · Palette generator →

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