#8A3BD3#8A3BD3

#8A3BD3 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.220 H 303.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A3BD3
RGBrgb(138, 59, 211)
HSLhsl(271, 63%, 53%)
HSVhsv(271, 72%, 83%)
CMYKcmyk(34.6%, 72%, 0%, 17.3%)
CIE-LABlab(43.11, 60.35, -64.66)
CIE-LCHlch(43.11, 88.45, 313.02°)
OKLaboklab(53.66% 0.1212 -0.1841)
OKLCHoklch(53.66% 0.22 303.3)
XYZxyz(23.8003, 13.2344, 62.9160)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BD3 #84D33B
analogous
#3E3BD3 #8A3BD3 #D33BD0
triadic
#8A3BD3 #D38A3B #3BD38A
tetradic
#8A3BD3 #D33E3B #84D33B #3BD0D3
square
#8A3BD3 #D33E3B #84D33B #3BD0D3
split-complementary
#8A3BD3 #D0D33B #3BD33E
monochromatic
#4C1B79 #6B26AB #8A3BD3 #A86DDE #C69FE9

Accessibility & contrast

On white

5.76
#8A3BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8A3BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BD3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BD3#FFFFFF#000000##FFFFFF
##8A3BD31.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#7B6084
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a3bd3;
/* rgb */ color: rgb(138, 59, 211);
/* oklch */ color: oklch(53.7% 0.220 303.3);
Tailwind
colors: {
  custom: {
    50: '#b278e1',
    500: '#8a3bd3',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bd3;
$custom-light: #b278e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bd3",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 271.184,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53656,
    "c": 0.22043,
    "h": 303.3
  },
  "luminance": 0.13234
}

Semantic roles & 50–950 ramp

primary
#8A3BD3
secondary
#B4D694
accent
#E64191
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8A3BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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