#8B49CD#8B49CD

#8B49CD is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.0% C 0.197 H 303.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8B49CD
RGBrgb(139, 73, 205)
HSLhsl(270, 57%, 55%)
HSVhsv(270, 64%, 80%)
CMYKcmyk(32.2%, 64.4%, 0%, 19.6%)
CIE-LABlab(45.17, 52.58, -57.88)
CIE-LCHlch(45.17, 78.19, 312.26°)
OKLaboklab(55.02% 0.1087 -0.1642)
OKLCHoklch(55.02% 0.197 303.5)
XYZxyz(24.0469, 14.6619, 59.3089)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B49CD #8BCD49
analogous
#4949CD #8B49CD #CD49CD
triadic
#8B49CD #CD8B49 #49CD8B
tetradic
#8B49CD #CD4949 #8BCD49 #49CDCD
square
#8B49CD #CD4949 #8BCD49 #49CDCD
split-complementary
#8B49CD #CDCD49 #49CD49
monochromatic
#4E227A #6C2FAA #8B49CD #AA79DA #C8A9E7

Accessibility & contrast

On white

5.34
#8B49CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8B49CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B49CD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B49CD#FFFFFF#000000##FFFFFF
##8B49CD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#1E6BCA
Tritanopia (blue-blind)
#7E6685
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b49cd;
/* rgb */ color: rgb(139, 73, 205);
/* oklch */ color: oklch(55.0% 0.197 303.5);
Tailwind
colors: {
  custom: {
    50: '#b180dd',
    500: '#8b49cd',
    950: '#000000',
  },
}
SCSS
$custom: #8b49cd;
$custom-light: #b180dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b49cd",
  "rgb": {
    "r": 139,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55017,
    "c": 0.19696,
    "h": 303.5
  },
  "luminance": 0.14662
}

Semantic roles & 50–950 ramp

primary
#8B49CD
secondary
#B9D59D
accent
#E04894
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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