#8041C0#8041C0

#8041C0 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.191 H 303.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8041C0
RGBrgb(128, 65, 192)
HSLhsl(270, 50%, 50%)
HSVhsv(270, 66%, 75%)
CMYKcmyk(33.3%, 66.1%, 0%, 24.7%)
CIE-LABlab(41.49, 51.08, -56.34)
CIE-LCHlch(41.49, 76.04, 312.20°)
OKLaboklab(51.8% 0.1041 -0.16)
OKLCHoklch(51.8% 0.191 303.1)
XYZxyz(20.3046, 12.1756, 51.1394)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041C0 #81C041
analogous
#4141C0 #8041C0 #C041C0
triadic
#8041C0 #C08041 #41C080
tetradic
#8041C0 #C04141 #81C041 #41C0C0
square
#8041C0 #C04141 #81C041 #41C0C0
split-complementary
#8041C0 #C0C041 #41C041
monochromatic
#432265 #623193 #8041C0 #9F6FCF #BD9DDE

Accessibility & contrast

On white

6.11
#8041C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8041C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041C0
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041C0#FFFFFF#000000##FFFFFF
##8041C01.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0F62BD
Tritanopia (blue-blind)
#735D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8041c0;
/* rgb */ color: rgb(128, 65, 192);
/* oklch */ color: oklch(51.8% 0.191 303.1);
Tailwind
colors: {
  custom: {
    50: '#aa7ad4',
    500: '#8041c0',
    950: '#000000',
  },
}
SCSS
$custom: #8041c0;
$custom-light: #aa7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#8041c0",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 269.764,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51796,
    "c": 0.19094,
    "h": 303.1
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#8041C0
secondary
#AFCB92
accent
#DA4E94
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8041C0

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

Preview Lab → · Contrast checker → · Palette generator →

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