#8041C1#8041C1

#8041C1 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.192 H 302.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8041C1
RGBrgb(128, 65, 193)
HSLhsl(270, 51%, 51%)
HSVhsv(270, 66%, 76%)
CMYKcmyk(33.7%, 66.3%, 0%, 24.3%)
CIE-LABlab(41.56, 51.32, -56.81)
CIE-LCHlch(41.56, 76.56, 312.10°)
OKLaboklab(51.87% 0.104 -0.1614)
OKLCHoklch(51.87% 0.192 302.8)
XYZxyz(20.4158, 12.2200, 51.7249)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041C1 #82C141
analogous
#4142C1 #8041C1 #C041C1
triadic
#8041C1 #C18041 #41C180
tetradic
#8041C1 #C14142 #82C141 #41C1C0
square
#8041C1 #C14142 #82C141 #41C1C0
split-complementary
#8041C1 #C1C041 #42C141
monochromatic
#432166 #623094 #8041C1 #9F6FD0 #BE9DDF

Accessibility & contrast

On white

6.10
#8041C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8041C1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041C1#FFFFFF#000000##FFFFFF
##8041C11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0B62BE
Tritanopia (blue-blind)
#735E7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8041c1;
/* rgb */ color: rgb(128, 65, 193);
/* oklch */ color: oklch(51.9% 0.192 302.8);
Tailwind
colors: {
  custom: {
    50: '#aa7ad4',
    500: '#8041c1',
    950: '#000000',
  },
}
SCSS
$custom: #8041c1;
$custom-light: #aa7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#8041c1",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 269.531,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.19204,
    "h": 302.8
  },
  "luminance": 0.1222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8041C1

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

Preview Lab → · Contrast checker → · Palette generator →

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