#8B3ABE#8B3ABE

#8B3ABE is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.201 H 309.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8B3ABE
RGBrgb(139, 58, 190)
HSLhsl(277, 53%, 49%)
HSVhsv(277, 69%, 75%)
CMYKcmyk(26.8%, 69.5%, 0%, 25.5%)
CIE-LABlab(41.58, 56.22, -54.95)
CIE-LCHlch(41.58, 78.62, 315.65°)
OKLaboklab(52.12% 0.1267 -0.1556)
OKLCHoklch(52.12% 0.201 309.2)
XYZxyz(21.4529, 12.2332, 49.9363)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3ABE #6DBE3A
analogous
#493ABE #8B3ABE #BE3AAF
triadic
#8B3ABE #BE8B3A #3ABE8B
tetradic
#8B3ABE #BE493A #6DBE3A #3AAFBE
square
#8B3ABE #BE493A #6DBE3A #3AAFBE
split-complementary
#8B3ABE #AFBE3A #3ABE49
monochromatic
#461D60 #692C8F #8B3ABE #A765D0 #C294DE

Accessibility & contrast

On white

6.09
#8B3ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8B3ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3ABE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3ABE#FFFFFF#000000##FFFFFF
##8B3ABE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#1F63BB
Tritanopia (blue-blind)
#845778
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b3abe;
/* rgb */ color: rgb(139, 58, 190);
/* oklch */ color: oklch(52.1% 0.201 309.2);
Tailwind
colors: {
  custom: {
    50: '#b177d2',
    500: '#8b3abe',
    950: '#000000',
  },
}
SCSS
$custom: #8b3abe;
$custom-light: #b177d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3abe",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 276.818,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52122,
    "c": 0.20064,
    "h": 309.2
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#8B3ABE
secondary
#A3CA8A
accent
#DD4B83
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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