#8A3BBB#8A3BBB

#8A3BBB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.196 H 309.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8A3BBB
RGBrgb(138, 59, 187)
HSLhsl(277, 52%, 48%)
HSVhsv(277, 68%, 73%)
CMYKcmyk(26.2%, 68.4%, 0%, 26.7%)
CIE-LABlab(41.41, 54.90, -53.49)
CIE-LCHlch(41.41, 76.65, 315.74°)
OKLaboklab(51.9% 0.1247 -0.1513)
OKLCHoklch(51.9% 0.196 309.5)
XYZxyz(21.0131, 12.1195, 48.2364)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BBB #6CBB3B
analogous
#4A3BBB #8A3BBB #BB3BAC
triadic
#8A3BBB #BB8A3B #3BBB8A
tetradic
#8A3BBB #BB4A3B #6CBB3B #3BACBB
square
#8A3BBB #BB4A3B #6CBB3B #3BACBB
split-complementary
#8A3BBB #ACBB3B #3BBB4A
monochromatic
#451E5E #682C8C #8A3BBB #A665CE #C193DD

Accessibility & contrast

On white

6.13
#8A3BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8A3BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BBB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BBB#FFFFFF#000000##FFFFFF
##8A3BBB1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2463B8
Tritanopia (blue-blind)
#835676
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a3bbb;
/* rgb */ color: rgb(138, 59, 187);
/* oklch */ color: oklch(51.9% 0.196 309.5);
Tailwind
colors: {
  custom: {
    50: '#b077d0',
    500: '#8a3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bbb;
$custom-light: #b077d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bbb",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 277.031,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51901,
    "c": 0.19605,
    "h": 309.5
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

primary
#8A3BBB
secondary
#A2C88A
accent
#DB4C83
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8A3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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