#8041B8#8041B8

#8041B8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.182 H 305.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8041B8
RGBrgb(128, 65, 184)
HSLhsl(272, 48%, 49%)
HSVhsv(272, 65%, 72%)
CMYKcmyk(30.4%, 64.7%, 0%, 27.8%)
CIE-LABlab(40.95, 49.15, -52.54)
CIE-LCHlch(40.95, 71.94, 313.09°)
OKLaboklab(51.23% 0.1049 -0.1489)
OKLCHoklch(51.23% 0.182 305.2)
XYZxyz(19.4422, 11.8306, 46.5974)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041B8 #79B841
analogous
#4541B8 #8041B8 #B841B5
triadic
#8041B8 #B88041 #41B880
tetradic
#8041B8 #B84541 #79B841 #41B5B8
square
#8041B8 #B84541 #79B841 #41B5B8
split-complementary
#8041B8 #B5B841 #41B845
monochromatic
#41215E #61318B #8041B8 #9E6BCB #BC99DB

Accessibility & contrast

On white

6.24
#8041B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8041B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041B8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041B8#FFFFFF#000000##FFFFFF
##8041B81.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#2161B5
Tritanopia (blue-blind)
#765A77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8041b8;
/* rgb */ color: rgb(128, 65, 184);
/* oklch */ color: oklch(51.2% 0.182 305.2);
Tailwind
colors: {
  custom: {
    50: '#a979ce',
    500: '#8041b8',
    950: '#000000',
  },
}
SCSS
$custom: #8041b8;
$custom-light: #a979ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8041b8",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 271.765,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51227,
    "c": 0.18209,
    "h": 305.2
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#8041B8
secondary
#A9C78E
accent
#D75090
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8041B8

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

Preview Lab → · Contrast checker → · Palette generator →

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