#8041AC#8041AC

#8041AC is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.169 H 308.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8041AC
RGBrgb(128, 65, 172)
HSLhsl(275, 45%, 46%)
HSVhsv(275, 62%, 67%)
CMYKcmyk(25.6%, 62.2%, 0%, 32.5%)
CIE-LABlab(40.16, 46.31, -46.71)
CIE-LCHlch(40.16, 65.78, 314.76°)
OKLaboklab(50.41% 0.1055 -0.1318)
OKLCHoklch(50.41% 0.169 308.7)
XYZxyz(18.2373, 11.3486, 40.2515)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041AC #6DAC41
analogous
#4B41AC #8041AC #AC41A3
triadic
#8041AC #AC8041 #41AC80
tetradic
#8041AC #AC4B41 #6DAC41 #41A3AC
square
#8041AC #AC4B41 #6DAC41 #41A3AC
split-complementary
#8041AC #A3AC41 #41AC4B
monochromatic
#3E1F53 #5F3080 #8041AC #9E65C5 #BA92D6

Accessibility & contrast

On white

6.42
#8041AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8041AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041AC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041AC#FFFFFF#000000##FFFFFF
##8041AC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5CAF
Deuteranopia (green-blind)
#315FAA
Tritanopia (blue-blind)
#7A5670
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8041ac;
/* rgb */ color: rgb(128, 65, 172);
/* oklch */ color: oklch(50.4% 0.169 308.7);
Tailwind
colors: {
  custom: {
    50: '#a879c5',
    500: '#8041ac',
    950: '#000000',
  },
}
SCSS
$custom: #8041ac;
$custom-light: #a879c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8041ac",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 275.327,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50409,
    "c": 0.16879,
    "h": 308.7
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#8041AC
secondary
#9FC188
accent
#D55388
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8041AC

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

Preview Lab → · Contrast checker → · Palette generator →

#8041AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva