#8B3EBE#8B3EBE

#8B3EBE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.196 H 308.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8B3EBE
RGBrgb(139, 62, 190)
HSLhsl(276, 51%, 49%)
HSVhsv(276, 67%, 75%)
CMYKcmyk(26.8%, 67.4%, 0%, 25.5%)
CIE-LABlab(42.23, 54.41, -53.90)
CIE-LCHlch(42.23, 76.59, 315.27°)
OKLaboklab(52.59% 0.1224 -0.1525)
OKLCHoklch(52.59% 0.196 308.8)
XYZxyz(21.6625, 12.6523, 50.0062)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EBE #71BE3E
analogous
#4B3EBE #8B3EBE #BE3EB1
triadic
#8B3EBE #BE8B3E #3EBE8B
tetradic
#8B3EBE #BE4B3E #71BE3E #3EB1BE
square
#8B3EBE #BE4B3E #71BE3E #3EB1BE
split-complementary
#8B3EBE #B1BE3E #3EBE4B
monochromatic
#472062 #692F90 #8B3EBE #A76BCF #C299DE

Accessibility & contrast

On white

5.95
#8B3EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8B3EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EBE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EBE#FFFFFF#000000##FFFFFF
##8B3EBE1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#2565BB
Tritanopia (blue-blind)
#835979
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3ebe;
/* rgb */ color: rgb(139, 62, 190);
/* oklch */ color: oklch(52.6% 0.196 308.8);
Tailwind
colors: {
  custom: {
    50: '#b179d2',
    500: '#8b3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ebe;
$custom-light: #b179d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ebe",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 276.094,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.19555,
    "h": 308.8
  },
  "luminance": 0.12652
}

Semantic roles & 50–950 ramp

primary
#8B3EBE
secondary
#A6C98E
accent
#DA4E86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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