#8A3BC2#8A3BC2

#8A3BC2 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.203 H 307.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A3BC2
RGBrgb(138, 59, 194)
HSLhsl(275, 53%, 50%)
HSVhsv(275, 70%, 76%)
CMYKcmyk(28.9%, 69.6%, 0%, 23.9%)
CIE-LABlab(41.89, 56.46, -56.81)
CIE-LCHlch(41.89, 80.09, 314.83°)
OKLaboklab(52.4% 0.1239 -0.161)
OKLCHoklch(52.4% 0.203 307.6)
XYZxyz(21.7808, 12.4265, 52.2796)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BC2 #73C23B
analogous
#463BC2 #8A3BC2 #C23BB7
triadic
#8A3BC2 #C28A3B #3BC28A
tetradic
#8A3BC2 #C2463B #73C23B #3BB7C2
square
#8A3BC2 #C2463B #73C23B #3BB7C2
split-complementary
#8A3BC2 #B7C23B #3BC246
monochromatic
#471E64 #692D93 #8A3BC2 #A669D1 #C298E0

Accessibility & contrast

On white

6.03
#8A3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8A3BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BC2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BC2#FFFFFF#000000##FFFFFF
##8A3BC21.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#1664BF
Tritanopia (blue-blind)
#81597A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3bc2;
/* rgb */ color: rgb(138, 59, 194);
/* oklch */ color: oklch(52.4% 0.203 307.6);
Tailwind
colors: {
  custom: {
    50: '#b177d5',
    500: '#8a3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bc2;
$custom-light: #b177d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bc2",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 275.111,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52397,
    "c": 0.20316,
    "h": 307.6
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#8A3BC2
secondary
#A7CB8E
accent
#DD4B87
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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