#8041BD#8041BD

#8041BD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.188 H 303.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8041BD
RGBrgb(128, 65, 189)
HSLhsl(270, 49%, 50%)
HSVhsv(270, 66%, 74%)
CMYKcmyk(32.3%, 65.6%, 0%, 25.9%)
CIE-LABlab(41.29, 50.35, -54.92)
CIE-LCHlch(41.29, 74.51, 312.52°)
OKLaboklab(51.58% 0.1044 -0.1559)
OKLCHoklch(51.58% 0.188 303.8)
XYZxyz(19.9756, 12.0440, 49.4066)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041BD #7EBD41
analogous
#4241BD #8041BD #BD41BC
triadic
#8041BD #BD8041 #41BD80
tetradic
#8041BD #BD4241 #7EBD41 #41BCBD
square
#8041BD #BD4241 #7EBD41 #41BCBD
split-complementary
#8041BD #BCBD41 #41BD42
monochromatic
#422262 #61318F #8041BD #9E6ECD #BD9CDD

Accessibility & contrast

On white

6.16
#8041BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8041BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041BD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041BD#FFFFFF#000000##FFFFFF
##8041BD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#745C79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8041bd;
/* rgb */ color: rgb(128, 65, 189);
/* oklch */ color: oklch(51.6% 0.188 303.8);
Tailwind
colors: {
  custom: {
    50: '#a97ad2',
    500: '#8041bd',
    950: '#000000',
  },
}
SCSS
$custom: #8041bd;
$custom-light: #a97ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8041bd",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 270.484,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.18763,
    "h": 303.8
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#8041BD
secondary
#ACC991
accent
#D84F93
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8041BD

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

Preview Lab → · Contrast checker → · Palette generator →

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