#8A3AC4#8A3AC4

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

Color values

HEX#8A3AC4
RGBrgb(138, 58, 196)
HSLhsl(275, 54%, 50%)
HSVhsv(275, 70%, 77%)
CMYKcmyk(29.6%, 70.4%, 0%, 23.1%)
CIE-LABlab(41.87, 57.36, -58.00)
CIE-LCHlch(41.87, 81.57, 314.68°)
OKLaboklab(52.43% 0.1246 -0.1646)
OKLCHoklch(52.43% 0.206 307.1)
XYZxyz(21.9560, 12.4152, 53.4536)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3AC4 #74C43A
analogous
#453AC4 #8A3AC4 #C43AB9
triadic
#8A3AC4 #C48A3A #3AC48A
tetradic
#8A3AC4 #C4453A #74C43A #3AB9C4
square
#8A3AC4 #C4453A #74C43A #3AB9C4
split-complementary
#8A3AC4 #B9C43A #3AC445
monochromatic
#471E66 #692C95 #8A3AC4 #A669D3 #C298E0

Accessibility & contrast

On white

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

On black

3.48
#8A3AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A3AC4#FFFFFF#000000##FFFFFF
##8A3AC41.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0D63C1
Tritanopia (blue-blind)
#80597B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3ac4;
/* rgb */ color: rgb(138, 58, 196);
/* oklch */ color: oklch(52.4% 0.206 307.1);
Tailwind
colors: {
  custom: {
    50: '#b177d7',
    500: '#8a3ac4',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ac4;
$custom-light: #b177d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ac4",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 274.783,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.20642,
    "h": 307.1
  },
  "luminance": 0.12415
}

Semantic roles & 50–950 ramp

primary
#8A3AC4
secondary
#A8CC8E
accent
#DE4A88
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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