#8A3BBE#8A3BBE

#8A3BBE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.1% C 0.199 H 308.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8A3BBE
RGBrgb(138, 59, 190)
HSLhsl(276, 53%, 49%)
HSVhsv(276, 69%, 75%)
CMYKcmyk(27.4%, 68.9%, 0%, 25.5%)
CIE-LABlab(41.61, 55.57, -54.92)
CIE-LCHlch(41.61, 78.12, 315.34°)
OKLaboklab(52.11% 0.1243 -0.1555)
OKLCHoklch(52.11% 0.199 308.6)
XYZxyz(21.3376, 12.2493, 49.9455)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BBE #6FBE3B
analogous
#493BBE #8A3BBE #BE3BB1
triadic
#8A3BBE #BE8A3B #3BBE8A
tetradic
#8A3BBE #BE493B #6FBE3B #3BB1BE
square
#8A3BBE #BE493B #6FBE3B #3BB1BE
split-complementary
#8A3BBE #B1BE3B #3BBE49
monochromatic
#461E61 #682C8F #8A3BBE #A667D0 #C195DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A3BBE#FFFFFF#000000##FFFFFF
##8A3BBE1.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)
#825878
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a3bbe;
/* rgb */ color: rgb(138, 59, 190);
/* oklch */ color: oklch(52.1% 0.199 308.6);
Tailwind
colors: {
  custom: {
    50: '#b077d2',
    500: '#8a3bbe',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bbe;
$custom-light: #b077d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bbe",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 276.183,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.1991,
    "h": 308.6
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#8A3BBE
secondary
#A4CA8B
accent
#DC4C85
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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