#8B3EDA#8B3EDA

#8B3EDA is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.224 H 301.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8B3EDA
RGBrgb(139, 62, 218)
HSLhsl(270, 68%, 55%)
HSVhsv(270, 72%, 85%)
CMYKcmyk(36.2%, 71.6%, 0%, 14.5%)
CIE-LABlab(44.23, 60.85, -66.86)
CIE-LCHlch(44.23, 90.41, 312.31°)
OKLaboklab(54.64% 0.1184 -0.1906)
OKLCHoklch(54.64% 0.224 301.8)
XYZxyz(25.0219, 13.9961, 67.6993)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EDA #8DDA3E
analogous
#3E3FDA #8B3EDA #D93EDA
triadic
#8B3EDA #DA8B3E #3EDA8B
tetradic
#8B3EDA #DA3E3F #8DDA3E #3EDAD9
square
#8B3EDA #DA3E3F #8DDA3E #3EDAD9
split-complementary
#8B3EDA #DAD93E #3FDA3E
monochromatic
#4E1984 #6C23B8 #8B3EDA #AA71E4 #C9A5EE

Accessibility & contrast

On white

5.53
#8B3EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8B3EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EDA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EDA#FFFFFF#000000##FFFFFF
##8B3EDA1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#7A6488
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b3eda;
/* rgb */ color: rgb(139, 62, 218);
/* oklch */ color: oklch(54.6% 0.224 301.8);
Tailwind
colors: {
  custom: {
    50: '#b37ae6',
    500: '#8b3eda',
    950: '#000000',
  },
}
SCSS
$custom: #8b3eda;
$custom-light: #b37ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3eda",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 218
  },
  "hsl": {
    "h": 269.615,
    "s": 67.826,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54636,
    "c": 0.22437,
    "h": 301.8
  },
  "luminance": 0.13996
}

Semantic roles & 50–950 ramp

primary
#8B3EDA
secondary
#BADB99
accent
#EB3D95
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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