#8A3ACC#8A3ACC

#8A3ACC is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.214 H 305.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A3ACC
RGBrgb(138, 58, 204)
HSLhsl(273, 59%, 51%)
HSVhsv(273, 72%, 80%)
CMYKcmyk(32.4%, 71.6%, 0%, 20%)
CIE-LABlab(42.44, 59.17, -61.71)
CIE-LCHlch(42.44, 85.50, 313.80°)
OKLaboklab(53.02% 0.1234 -0.1755)
OKLCHoklch(53.02% 0.214 305.1)
XYZxyz(22.8909, 12.7892, 58.3777)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3ACC #7CCC3A
analogous
#413ACC #8A3ACC #CC3AC5
triadic
#8A3ACC #CC8A3A #3ACC8A
tetradic
#8A3ACC #CC413A #7CCC3A #3AC5CC
square
#8A3ACC #CC413A #7CCC3A #3AC5CC
split-complementary
#8A3ACC #C5CC3A #3ACC41
monochromatic
#4A1D6F #6A29A0 #8A3ACC #A76BD9 #C49BE5

Accessibility & contrast

On white

5.90
#8A3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8A3ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3ACC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3ACC#FFFFFF#000000##FFFFFF
##8A3ACC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#7E5D7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3acc;
/* rgb */ color: rgb(138, 58, 204);
/* oklch */ color: oklch(53.0% 0.214 305.1);
Tailwind
colors: {
  custom: {
    50: '#b177dc',
    500: '#8a3acc',
    950: '#000000',
  },
}
SCSS
$custom: #8a3acc;
$custom-light: #b177dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3acc",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 272.877,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.21449,
    "h": 305.1
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#8A3ACC
secondary
#AED191
accent
#E2468C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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