#8041C2#8041C2

#8041C2 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.193 H 302.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8041C2
RGBrgb(128, 65, 194)
HSLhsl(269, 51%, 51%)
HSVhsv(269, 66%, 76%)
CMYKcmyk(34%, 66.5%, 0%, 23.9%)
CIE-LABlab(41.63, 51.57, -57.28)
CIE-LCHlch(41.63, 77.07, 312.00°)
OKLaboklab(51.94% 0.1039 -0.1628)
OKLCHoklch(51.94% 0.193 302.6)
XYZxyz(20.5277, 12.2648, 52.3144)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041C2 #83C241
analogous
#4143C2 #8041C2 #C041C2
triadic
#8041C2 #C28041 #41C280
tetradic
#8041C2 #C24143 #83C241 #41C2C0
square
#8041C2 #C24143 #83C241 #41C2C0
split-complementary
#8041C2 #C2C041 #43C241
monochromatic
#432167 #623096 #8041C2 #9F6FD1 #BE9EE0

Accessibility & contrast

On white

6.08
#8041C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8041C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041C2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041C2#FFFFFF#000000##FFFFFF
##8041C21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0662BF
Tritanopia (blue-blind)
#735E7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8041c2;
/* rgb */ color: rgb(128, 65, 194);
/* oklch */ color: oklch(51.9% 0.193 302.6);
Tailwind
colors: {
  custom: {
    50: '#aa7ad5',
    500: '#8041c2',
    950: '#000000',
  },
}
SCSS
$custom: #8041c2;
$custom-light: #aa7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#8041c2",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 269.302,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.19315,
    "h": 302.6
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#8041C2
secondary
#B0CC93
accent
#DB4D96
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8041C2

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

Preview Lab → · Contrast checker → · Palette generator →

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