#8B44B2#8B44B2

#8B44B2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.175 H 311.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8B44B2
RGBrgb(139, 68, 178)
HSLhsl(279, 45%, 48%)
HSVhsv(279, 62%, 70%)
CMYKcmyk(21.9%, 61.8%, 0%, 30.2%)
CIE-LABlab(42.52, 48.83, -46.40)
CIE-LCHlch(42.52, 67.36, 316.46°)
OKLaboklab(52.55% 0.116 -0.1305)
OKLCHoklch(52.55% 0.175 311.6)
XYZxyz(20.7490, 12.8381, 43.4958)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B44B2 #6BB244
analogous
#5444B2 #8B44B2 #B244A2
triadic
#8B44B2 #B28B44 #44B28B
tetradic
#8B44B2 #B25444 #6BB244 #44A2B2
square
#8B44B2 #B25444 #6BB244 #44A2B2
split-complementary
#8B44B2 #A2B244 #44B254
monochromatic
#462259 #683386 #8B44B2 #A76CC7 #C199D8

Accessibility & contrast

On white

5.89
#8B44B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8B44B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B44B2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B44B2#FFFFFF#000000##FFFFFF
##8B44B21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B5
Deuteranopia (green-blind)
#3B66AF
Tritanopia (blue-blind)
#865975
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b44b2;
/* rgb */ color: rgb(139, 68, 178);
/* oklch */ color: oklch(52.5% 0.175 311.6);
Tailwind
colors: {
  custom: {
    50: '#b07cca',
    500: '#8b44b2',
    950: '#000000',
  },
}
SCSS
$custom: #8b44b2;
$custom-light: #b07cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b44b2",
  "rgb": {
    "r": 139,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 278.727,
    "s": 44.715,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.17463,
    "h": 311.6
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#8B44B2
secondary
#A1C48E
accent
#D45381
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B44B2

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

Preview Lab → · Contrast checker → · Palette generator →

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