#8A3BBC#8A3BBC

#8A3BBC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.0% C 0.197 H 309.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8A3BBC
RGBrgb(138, 59, 188)
HSLhsl(277, 52%, 48%)
HSVhsv(277, 69%, 74%)
CMYKcmyk(26.6%, 68.6%, 0%, 26.3%)
CIE-LABlab(41.47, 55.12, -53.97)
CIE-LCHlch(41.47, 77.14, 315.61°)
OKLaboklab(51.97% 0.1246 -0.1527)
OKLCHoklch(51.97% 0.197 309.2)
XYZxyz(21.1205, 12.1624, 48.8022)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BBC #6DBC3B
analogous
#493BBC #8A3BBC #BC3BAD
triadic
#8A3BBC #BC8A3B #3BBC8A
tetradic
#8A3BBC #BC493B #6DBC3B #3BADBC
square
#8A3BBC #BC493B #6DBC3B #3BADBC
split-complementary
#8A3BBC #ADBC3B #3BBC49
monochromatic
#461E5F #682C8D #8A3BBC #A665CF #C194DD

Accessibility & contrast

On white

6.12
#8A3BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8A3BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BBC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BBC#FFFFFF#000000##FFFFFF
##8A3BBC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#2263B9
Tritanopia (blue-blind)
#835777
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a3bbc;
/* rgb */ color: rgb(138, 59, 188);
/* oklch */ color: oklch(52.0% 0.197 309.2);
Tailwind
colors: {
  custom: {
    50: '#b077d1',
    500: '#8a3bbc',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bbc;
$custom-light: #b077d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bbc",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 188
  },
  "hsl": {
    "h": 276.744,
    "s": 52.227,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.19707,
    "h": 309.2
  },
  "luminance": 0.12162
}

Semantic roles & 50–950 ramp

primary
#8A3BBC
secondary
#A2C98A
accent
#DC4C84
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8A3BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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