#8A4BAC#8A4BAC

#8A4BAC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.157 H 312.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A4BAC
RGBrgb(138, 75, 172)
HSLhsl(279, 39%, 48%)
HSVhsv(279, 56%, 67%)
CMYKcmyk(19.8%, 56.4%, 0%, 32.5%)
CIE-LABlab(43.38, 43.62, -41.49)
CIE-LCHlch(43.38, 60.20, 316.43°)
OKLaboklab(53.03% 0.1055 -0.1162)
OKLCHoklch(53.03% 0.157 312.2)
XYZxyz(20.4424, 13.4145, 40.5341)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BAC #6DAC4B
analogous
#594BAC #8A4BAC #AC4B9D
triadic
#8A4BAC #AC8A4B #4BAC8A
tetradic
#8A4BAC #AC594B #6DAC4B #4B9DAC
square
#8A4BAC #AC594B #6DAC4B #4B9DAC
split-complementary
#8A4BAC #9DAC4B #4BAC59
monochromatic
#462657 #683881 #8A4BAC #A672C2 #C19DD4

Accessibility & contrast

On white

5.70
#8A4BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8A4BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BAC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BAC#FFFFFF#000000##FFFFFF
##8A4BAC1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#4568AA
Tritanopia (blue-blind)
#865C74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a4bac;
/* rgb */ color: rgb(138, 75, 172);
/* oklch */ color: oklch(53.0% 0.157 312.2);
Tailwind
colors: {
  custom: {
    50: '#af80c5',
    500: '#8a4bac',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bac;
$custom-light: #af80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bac",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 278.969,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53034,
    "c": 0.15698,
    "h": 312.2
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#8A4BAC
secondary
#A2C192
accent
#CF5982
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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