#8041C4#8041C4

#8041C4 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.195 H 302.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8041C4
RGBrgb(128, 65, 196)
HSLhsl(269, 53%, 51%)
HSVhsv(269, 67%, 77%)
CMYKcmyk(34.7%, 66.8%, 0%, 23.1%)
CIE-LABlab(41.78, 52.05, -58.21)
CIE-LCHlch(41.78, 78.09, 311.80°)
OKLaboklab(52.09% 0.1037 -0.1655)
OKLCHoklch(52.09% 0.195 302.1)
XYZxyz(20.7538, 12.3553, 53.5053)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041C4 #85C441
analogous
#4143C4 #8041C4 #C141C4
triadic
#8041C4 #C48041 #41C480
tetradic
#8041C4 #C44143 #85C441 #41C4C1
square
#8041C4 #C44143 #85C441 #41C4C1
split-complementary
#8041C4 #C4C141 #43C441
monochromatic
#44216A #622F98 #8041C4 #9F70D3 #BE9EE1

Accessibility & contrast

On white

6.05
#8041C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8041C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041C4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041C4#FFFFFF#000000##FFFFFF
##8041C41.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#725F7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8041c4;
/* rgb */ color: rgb(128, 65, 196);
/* oklch */ color: oklch(52.1% 0.195 302.1);
Tailwind
colors: {
  custom: {
    50: '#aa7ad7',
    500: '#8041c4',
    950: '#000000',
  },
}
SCSS
$custom: #8041c4;
$custom-light: #aa7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#8041c4",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 268.855,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52087,
    "c": 0.19535,
    "h": 302.1
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#8041C4
secondary
#B2CD93
accent
#DC4C97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8041C4

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

Preview Lab → · Contrast checker → · Palette generator →

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