#8041BF#8041BF

#8041BF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.190 H 303.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8041BF
RGBrgb(128, 65, 191)
HSLhsl(270, 50%, 50%)
HSVhsv(270, 66%, 75%)
CMYKcmyk(33%, 66%, 0%, 25.1%)
CIE-LABlab(41.42, 50.84, -55.86)
CIE-LCHlch(41.42, 75.53, 312.30°)
OKLaboklab(51.72% 0.1043 -0.1587)
OKLCHoklch(51.72% 0.19 303.3)
XYZxyz(20.1942, 12.1314, 50.5578)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041BF #80BF41
analogous
#4141BF #8041BF #BF41BF
triadic
#8041BF #BF8041 #41BF80
tetradic
#8041BF #BF4141 #80BF41 #41BFBF
square
#8041BF #BF4141 #80BF41 #41BFBF
split-complementary
#8041BF #BFBF41 #41BF41
monochromatic
#432264 #613192 #8041BF #9F6FCE #BD9DDE

Accessibility & contrast

On white

6.13
#8041BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8041BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041BF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041BF#FFFFFF#000000##FFFFFF
##8041BF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#1261BC
Tritanopia (blue-blind)
#745D7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8041bf;
/* rgb */ color: rgb(128, 65, 191);
/* oklch */ color: oklch(51.7% 0.190 303.3);
Tailwind
colors: {
  custom: {
    50: '#a97ad3',
    500: '#8041bf',
    950: '#000000',
  },
}
SCSS
$custom: #8041bf;
$custom-light: #a97ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#8041bf",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 270,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.18984,
    "h": 303.3
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#8041BF
secondary
#AECA92
accent
#D94F94
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8041BF

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

Preview Lab → · Contrast checker → · Palette generator →

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