#8A4AC3#8A4AC3

#8A4AC3 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.184 H 305.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8A4AC3
RGBrgb(138, 74, 195)
HSLhsl(272, 50%, 53%)
HSVhsv(272, 62%, 76%)
CMYKcmyk(29.2%, 62.1%, 0%, 23.5%)
CIE-LABlab(44.58, 49.47, -53.05)
CIE-LCHlch(44.58, 72.53, 313.00°)
OKLaboklab(54.35% 0.1069 -0.1501)
OKLCHoklch(54.35% 0.184 305.4)
XYZxyz(22.7782, 14.2411, 53.1680)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4AC3 #83C34A
analogous
#4E4AC3 #8A4AC3 #C34ABF
triadic
#8A4AC3 #C38A4A #4AC38A
tetradic
#8A4AC3 #C34E4A #83C34A #4ABFC3
square
#8A4AC3 #C34E4A #83C34A #4ABFC3
split-complementary
#8A4AC3 #BFC34A #4AC34E
monochromatic
#4B246E #6B349C #8A4AC3 #A878D2 #C5A6E1

Accessibility & contrast

On white

5.46
#8A4AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8A4AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4AC3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4AC3#FFFFFF#000000##FFFFFF
##8A4AC31.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C7
Deuteranopia (green-blind)
#2F6AC0
Tritanopia (blue-blind)
#806380
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4ac3;
/* rgb */ color: rgb(138, 74, 195);
/* oklch */ color: oklch(54.4% 0.184 305.4);
Tailwind
colors: {
  custom: {
    50: '#b080d6',
    500: '#8a4ac3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ac3;
$custom-light: #b080d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ac3",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 271.736,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.18424,
    "h": 305.4
  },
  "luminance": 0.14241
}

Semantic roles & 50–950 ramp

primary
#8A4AC3
secondary
#B3CF9A
accent
#DA4E90
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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