#8A3BC4#8A3BC4

#8A3BC4 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.205 H 307.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8A3BC4
RGBrgb(138, 59, 196)
HSLhsl(275, 54%, 50%)
HSVhsv(275, 70%, 77%)
CMYKcmyk(29.6%, 69.9%, 0%, 23.1%)
CIE-LABlab(42.03, 56.91, -57.75)
CIE-LCHlch(42.03, 81.08, 314.58°)
OKLaboklab(52.54% 0.1236 -0.1638)
OKLCHoklch(52.54% 0.205 307)
XYZxyz(22.0069, 12.5170, 53.4705)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BC4 #75C43B
analogous
#463BC4 #8A3BC4 #C43BB9
triadic
#8A3BC4 #C48A3B #3BC48A
tetradic
#8A3BC4 #C4463B #75C43B #3BB9C4
square
#8A3BC4 #C4463B #75C43B #3BB9C4
split-complementary
#8A3BC4 #B9C43B #3BC446
monochromatic
#481F66 #692D95 #8A3BC4 #A66AD2 #C299E0

Accessibility & contrast

On white

5.99
#8A3BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8A3BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BC4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BC4#FFFFFF#000000##FFFFFF
##8A3BC41.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#1064C1
Tritanopia (blue-blind)
#805A7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3bc4;
/* rgb */ color: rgb(138, 59, 196);
/* oklch */ color: oklch(52.5% 0.205 307.0);
Tailwind
colors: {
  custom: {
    50: '#b177d7',
    500: '#8a3bc4',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bc4;
$custom-light: #b177d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bc4",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 274.599,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.52541,
    "c": 0.2052,
    "h": 307
  },
  "luminance": 0.12517
}

Semantic roles & 50–950 ramp

primary
#8A3BC4
secondary
#A9CC8F
accent
#DD4B89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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