#8A3BC3#8A3BC3

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

Color values

HEX#8A3BC3
RGBrgb(138, 59, 195)
HSLhsl(275, 54%, 50%)
HSVhsv(275, 70%, 76%)
CMYKcmyk(29.2%, 69.7%, 0%, 23.5%)
CIE-LABlab(41.96, 56.69, -57.28)
CIE-LCHlch(41.96, 80.59, 314.70°)
OKLaboklab(52.47% 0.1237 -0.1624)
OKLCHoklch(52.47% 0.204 307.3)
XYZxyz(21.8934, 12.4716, 52.8731)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BC3 #74C33B
analogous
#463BC3 #8A3BC3 #C33BB8
triadic
#8A3BC3 #C38A3B #3BC38A
tetradic
#8A3BC3 #C3463B #74C33B #3BB8C3
square
#8A3BC3 #C3463B #74C33B #3BB8C3
split-complementary
#8A3BC3 #B8C33B #3BC346
monochromatic
#471F65 #692D94 #8A3BC3 #A669D2 #C298E0

Accessibility & contrast

On white

6.01
#8A3BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3BC3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BC3#FFFFFF#000000##FFFFFF
##8A3BC31.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#1364C0
Tritanopia (blue-blind)
#815A7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3bc3;
/* rgb */ color: rgb(138, 59, 195);
/* oklch */ color: oklch(52.5% 0.204 307.3);
Tailwind
colors: {
  custom: {
    50: '#b177d6',
    500: '#8a3bc3',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bc3;
$custom-light: #b177d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bc3",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 274.853,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52469,
    "c": 0.20419,
    "h": 307.3
  },
  "luminance": 0.12471
}

Semantic roles & 50–950 ramp

primary
#8A3BC3
secondary
#A8CC8E
accent
#DD4B88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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