#8A3AC5#8A3AC5

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

Color values

HEX#8A3AC5
RGBrgb(138, 58, 197)
HSLhsl(275, 55%, 50%)
HSVhsv(275, 71%, 77%)
CMYKcmyk(29.9%, 70.6%, 0%, 22.7%)
CIE-LABlab(41.94, 57.58, -58.47)
CIE-LCHlch(41.94, 82.06, 314.56°)
OKLaboklab(52.5% 0.1245 -0.1659)
OKLCHoklch(52.5% 0.207 306.9)
XYZxyz(22.0702, 12.4609, 54.0550)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3AC5 #75C53A
analogous
#443AC5 #8A3AC5 #C53ABB
triadic
#8A3AC5 #C58A3A #3AC58A
tetradic
#8A3AC5 #C5443A #75C53A #3ABBC5
square
#8A3AC5 #C5443A #75C53A #3ABBC5
split-complementary
#8A3AC5 #BBC53A #3AC544
monochromatic
#481E66 #692C96 #8A3AC5 #A669D3 #C299E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A3AC5#FFFFFF#000000##FFFFFF
##8A3AC51.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)
#0060C9
Deuteranopia (green-blind)
#0864C2
Tritanopia (blue-blind)
#805A7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3ac5;
/* rgb */ color: rgb(138, 58, 197);
/* oklch */ color: oklch(52.5% 0.207 306.9);
Tailwind
colors: {
  custom: {
    50: '#b177d7',
    500: '#8a3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ac5;
$custom-light: #b177d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ac5",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 274.532,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.20742,
    "h": 306.9
  },
  "luminance": 0.12461
}

Semantic roles & 50–950 ramp

primary
#8A3AC5
secondary
#A9CD8E
accent
#DE4A89
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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