#8B49D5#8B49D5

#8B49D5 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.206 H 301.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8B49D5
RGBrgb(139, 73, 213)
HSLhsl(268, 63%, 56%)
HSVhsv(268, 66%, 84%)
CMYKcmyk(34.7%, 65.7%, 0%, 16.5%)
CIE-LABlab(45.71, 54.51, -61.59)
CIE-LCHlch(45.71, 82.25, 311.51°)
OKLaboklab(55.58% 0.108 -0.1751)
OKLCHoklch(55.58% 0.206 301.7)
XYZxyz(25.0374, 15.0581, 64.5253)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B49D5 #93D549
analogous
#494DD5 #8B49D5 #D149D5
triadic
#8B49D5 #D58B49 #49D58B
tetradic
#8B49D5 #D5494D #93D549 #49D5D1
square
#8B49D5 #D5494D #93D549 #49D5D1
split-complementary
#8B49D5 #D5D149 #4DD549
monochromatic
#4F1F85 #6C2AB7 #8B49D5 #AB7BE0 #CAACEC

Accessibility & contrast

On white

5.23
#8B49D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8B49D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B49D5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B49D5#FFFFFF#000000##FFFFFF
##8B49D51.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#026CD2
Tritanopia (blue-blind)
#7C6989
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b49d5;
/* rgb */ color: rgb(139, 73, 213);
/* oklch */ color: oklch(55.6% 0.206 301.7);
Tailwind
colors: {
  custom: {
    50: '#b280e3',
    500: '#8b49d5',
    950: '#000000',
  },
}
SCSS
$custom: #8b49d5;
$custom-light: #b280e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b49d5",
  "rgb": {
    "r": 139,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 268.286,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55583,
    "c": 0.20575,
    "h": 301.7
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#8B49D5
secondary
#BFDAA0
accent
#E64299
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8B49D5

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

Preview Lab → · Contrast checker → · Palette generator →

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