#8041BB#8041BB

#8041BB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.185 H 304.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8041BB
RGBrgb(128, 65, 187)
HSLhsl(271, 48%, 49%)
HSVhsv(271, 65%, 73%)
CMYKcmyk(31.6%, 65.2%, 0%, 26.7%)
CIE-LABlab(41.15, 49.87, -53.97)
CIE-LCHlch(41.15, 73.48, 312.74°)
OKLaboklab(51.44% 0.1046 -0.1531)
OKLCHoklch(51.44% 0.185 304.4)
XYZxyz(19.7600, 11.9577, 48.2711)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041BB #7CBB41
analogous
#4341BB #8041BB #BB41B9
triadic
#8041BB #BB8041 #41BB80
tetradic
#8041BB #BB4341 #7CBB41 #41B9BB
square
#8041BB #BB4341 #7CBB41 #41B9BB
split-complementary
#8041BB #B9BB41 #41BB43
monochromatic
#422160 #61318E #8041BB #9E6DCC #BC9ADC

Accessibility & contrast

On white

6.19
#8041BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8041BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041BB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041BB#FFFFFF#000000##FFFFFF
##8041BB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#1C61B8
Tritanopia (blue-blind)
#755B78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8041bb;
/* rgb */ color: rgb(128, 65, 187);
/* oklch */ color: oklch(51.4% 0.185 304.4);
Tailwind
colors: {
  custom: {
    50: '#a97ad0',
    500: '#8041bb',
    950: '#000000',
  },
}
SCSS
$custom: #8041bb;
$custom-light: #a97ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8041bb",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 270.984,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51438,
    "c": 0.18542,
    "h": 304.4
  },
  "luminance": 0.11958
}

Semantic roles & 50–950 ramp

primary
#8041BB
secondary
#ABC890
accent
#D85092
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8041BB

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

Preview Lab → · Contrast checker → · Palette generator →

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