#8B3BDA#8B3BDA

#8B3BDA is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.3% C 0.228 H 302.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8B3BDA
RGBrgb(139, 59, 218)
HSLhsl(270, 68%, 54%)
HSVhsv(270, 73%, 85%)
CMYKcmyk(36.2%, 72.9%, 0%, 14.5%)
CIE-LABlab(43.77, 62.15, -67.61)
CIE-LCHlch(43.77, 91.83, 312.59°)
OKLaboklab(54.31% 0.1212 -0.1928)
OKLCHoklch(54.31% 0.228 302.2)
XYZxyz(24.8633, 13.6788, 67.6465)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BDA #8ADA3B
analogous
#3C3BDA #8B3BDA #DA3BD9
triadic
#8B3BDA #DA8B3B #3BDA8B
tetradic
#8B3BDA #DA3C3B #8ADA3B #3BD9DA
square
#8B3BDA #DA3C3B #8ADA3B #3BD9DA
split-complementary
#8B3BDA #D9DA3B #3BDA3C
monochromatic
#4E1982 #6C22B6 #8B3BDA #A96EE4 #C8A2ED

Accessibility & contrast

On white

5.62
#8B3BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8B3BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BDA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BDA#FFFFFF#000000##FFFFFF
##8B3BDA1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#7A6388
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b3bda;
/* rgb */ color: rgb(139, 59, 218);
/* oklch */ color: oklch(54.3% 0.228 302.2);
Tailwind
colors: {
  custom: {
    50: '#b378e6',
    500: '#8b3bda',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bda;
$custom-light: #b378e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bda",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 218
  },
  "hsl": {
    "h": 270.189,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.22769,
    "h": 302.2
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#8B3BDA
secondary
#B8DA97
accent
#EB3D93
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B3BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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