#8B3BDD#8B3BDD

#8B3BDD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.231 H 301.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8B3BDD
RGBrgb(139, 59, 221)
HSLhsl(270, 70%, 55%)
HSVhsv(270, 73%, 87%)
CMYKcmyk(37.1%, 73.3%, 0%, 13.3%)
CIE-LABlab(44.00, 62.85, -68.95)
CIE-LCHlch(44.00, 93.29, 312.35°)
OKLaboklab(54.55% 0.1206 -0.1967)
OKLCHoklch(54.55% 0.231 301.5)
XYZxyz(25.2594, 13.8372, 69.7327)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BDD #8DDD3B
analogous
#3B3CDD #8B3BDD #DC3BDD
triadic
#8B3BDD #DD8B3B #3BDD8B
tetradic
#8B3BDD #DD3B3C #8DDD3B #3BDDDC
square
#8B3BDD #DD3B3C #8DDD3B #3BDDDC
split-complementary
#8B3BDD #DDDC3B #3CDD3B
monochromatic
#4E1786 #6C20BA #8B3BDD #AA6FE6 #C9A3EF

Accessibility & contrast

On white

5.57
#8B3BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8B3BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BDD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BDD#FFFFFF#000000##FFFFFF
##8B3BDD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#796489
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b3bdd;
/* rgb */ color: rgb(139, 59, 221);
/* oklch */ color: oklch(54.5% 0.231 301.5);
Tailwind
colors: {
  custom: {
    50: '#b378e9',
    500: '#8b3bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bdd;
$custom-light: #b378e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bdd",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 221
  },
  "hsl": {
    "h": 269.63,
    "s": 70.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54545,
    "c": 0.23071,
    "h": 301.5
  },
  "luminance": 0.13837
}

Semantic roles & 50–950 ramp

primary
#8B3BDD
secondary
#BADC98
accent
#ED3B95
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B3BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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