#8A3AC1#8A3AC1

#8A3AC1 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.203 H 307.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A3AC1
RGBrgb(138, 58, 193)
HSLhsl(276, 54%, 49%)
HSVhsv(276, 70%, 76%)
CMYKcmyk(28.5%, 69.9%, 0%, 24.3%)
CIE-LABlab(41.66, 56.68, -56.59)
CIE-LCHlch(41.66, 80.10, 315.05°)
OKLaboklab(52.21% 0.125 -0.1604)
OKLCHoklch(52.21% 0.203 307.9)
XYZxyz(21.6179, 12.2800, 51.6732)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3AC1 #71C13A
analogous
#473AC1 #8A3AC1 #C13AB5
triadic
#8A3AC1 #C18A3A #3AC18A
tetradic
#8A3AC1 #C1473A #71C13A #3AB5C1
square
#8A3AC1 #C1473A #71C13A #3AB5C1
split-complementary
#8A3AC1 #B5C13A #3AC147
monochromatic
#471E63 #682C92 #8A3AC1 #A667D1 #C296DF

Accessibility & contrast

On white

6.08
#8A3AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A3AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3AC1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3AC1#FFFFFF#000000##FFFFFF
##8A3AC11.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#1663BE
Tritanopia (blue-blind)
#815879
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a3ac1;
/* rgb */ color: rgb(138, 58, 193);
/* oklch */ color: oklch(52.2% 0.203 307.9);
Tailwind
colors: {
  custom: {
    50: '#b177d5',
    500: '#8a3ac1',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ac1;
$custom-light: #b177d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ac1",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 275.556,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.20338,
    "h": 307.9
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#8A3AC1
secondary
#A6CB8C
accent
#DD4B86
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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