#8041B9#8041B9

#8041B9 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.183 H 304.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8041B9
RGBrgb(128, 65, 185)
HSLhsl(272, 48%, 49%)
HSVhsv(272, 65%, 73%)
CMYKcmyk(30.8%, 64.9%, 0%, 27.5%)
CIE-LABlab(41.01, 49.39, -53.01)
CIE-LCHlch(41.01, 72.45, 312.97°)
OKLaboklab(51.3% 0.1048 -0.1503)
OKLCHoklch(51.3% 0.183 304.9)
XYZxyz(19.5474, 11.8727, 47.1514)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041B9 #7AB941
analogous
#4441B9 #8041B9 #B941B6
triadic
#8041B9 #B98041 #41B980
tetradic
#8041B9 #B94441 #7AB941 #41B6B9
square
#8041B9 #B94441 #7AB941 #41B6B9
split-complementary
#8041B9 #B6B941 #41B944
monochromatic
#41215E #61318C #8041B9 #9E6CCB #BC99DB

Accessibility & contrast

On white

6.22
#8041B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8041B9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041B9#FFFFFF#000000##FFFFFF
##8041B91.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#2061B6
Tritanopia (blue-blind)
#765B77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8041b9;
/* rgb */ color: rgb(128, 65, 185);
/* oklch */ color: oklch(51.3% 0.183 304.9);
Tailwind
colors: {
  custom: {
    50: '#a979cf',
    500: '#8041b9',
    950: '#000000',
  },
}
SCSS
$custom: #8041b9;
$custom-light: #a979cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8041b9",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 271.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51297,
    "c": 0.1832,
    "h": 304.9
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#8041B9
secondary
#A9C78F
accent
#D85091
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8041B9

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

Preview Lab → · Contrast checker → · Palette generator →

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