#8A3BB0#8A3BB0

#8A3BB0 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.1% C 0.185 H 312.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8A3BB0
RGBrgb(138, 59, 176)
HSLhsl(281, 50%, 46%)
HSVhsv(281, 66%, 69%)
CMYKcmyk(21.6%, 66.5%, 0%, 31%)
CIE-LABlab(40.68, 52.49, -48.17)
CIE-LCHlch(40.68, 71.24, 317.45°)
OKLaboklab(51.15% 0.1256 -0.1357)
OKLCHoklch(51.15% 0.185 312.8)
XYZxyz(19.8803, 11.6664, 42.2705)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BB0 #61B03B
analogous
#4F3BB0 #8A3BB0 #B03B9B
triadic
#8A3BB0 #B08A3B #3BB08A
tetradic
#8A3BB0 #B04F3B #61B03B #3B9BB0
square
#8A3BB0 #B04F3B #61B03B #3B9BB0
split-complementary
#8A3BB0 #9BB03B #3BB04F
monochromatic
#421C54 #662C82 #8A3BB0 #A75FC9 #C08DD9

Accessibility & contrast

On white

6.30
#8A3BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8A3BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BB0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BB0#FFFFFF#000000##FFFFFF
##8A3BB01.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#3262AD
Tritanopia (blue-blind)
#865270
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a3bb0;
/* rgb */ color: rgb(138, 59, 176);
/* oklch */ color: oklch(51.1% 0.185 312.8);
Tailwind
colors: {
  custom: {
    50: '#b077c8',
    500: '#8a3bb0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bb0;
$custom-light: #b077c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bb0",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 280.513,
    "s": 49.787,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.18491,
    "h": 312.8
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#8A3BB0
secondary
#98C383
accent
#D94E7C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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