#8A3ACA#8A3ACA

#8A3ACA is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.212 H 305.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8A3ACA
RGBrgb(138, 58, 202)
HSLhsl(273, 58%, 51%)
HSVhsv(273, 71%, 79%)
CMYKcmyk(31.7%, 71.3%, 0%, 20.8%)
CIE-LABlab(42.30, 58.72, -60.79)
CIE-LCHlch(42.30, 84.52, 314.01°)
OKLaboklab(52.87% 0.1237 -0.1728)
OKLCHoklch(52.87% 0.212 305.6)
XYZxyz(22.6526, 12.6938, 57.1224)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3ACA #7ACA3A
analogous
#423ACA #8A3ACA #CA3AC2
triadic
#8A3ACA #CA8A3A #3ACA8A
tetradic
#8A3ACA #CA423A #7ACA3A #3AC2CA
square
#8A3ACA #CA423A #7ACA3A #3AC2CA
split-complementary
#8A3ACA #C2CA3A #3ACA42
monochromatic
#491D6C #6A2A9D #8A3ACA #A76AD7 #C39AE4

Accessibility & contrast

On white

5.93
#8A3ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8A3ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3ACA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3ACA#FFFFFF#000000##FFFFFF
##8A3ACA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#7E5C7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3aca;
/* rgb */ color: rgb(138, 58, 202);
/* oklch */ color: oklch(52.9% 0.212 305.6);
Tailwind
colors: {
  custom: {
    50: '#b177db',
    500: '#8a3aca',
    950: '#000000',
  },
}
SCSS
$custom: #8a3aca;
$custom-light: #b177db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3aca",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 273.333,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.21247,
    "h": 305.6
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#8A3ACA
secondary
#ACD090
accent
#E1478B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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