#8041BE#8041BE

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

Color values

HEX#8041BE
RGBrgb(128, 65, 190)
HSLhsl(270, 49%, 50%)
HSVhsv(270, 66%, 75%)
CMYKcmyk(32.6%, 65.8%, 0%, 25.5%)
CIE-LABlab(41.35, 50.59, -55.39)
CIE-LCHlch(41.35, 75.02, 312.41°)
OKLaboklab(51.65% 0.1043 -0.1573)
OKLCHoklch(51.65% 0.189 303.6)
XYZxyz(20.0845, 12.0875, 49.9802)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041BE #7FBE41
analogous
#4141BE #8041BE #BE41BE
triadic
#8041BE #BE8041 #41BE80
tetradic
#8041BE #BE4141 #7FBE41 #41BEBE
square
#8041BE #BE4141 #7FBE41 #41BEBE
split-complementary
#8041BE #BEBE41 #41BE41
monochromatic
#432263 #613190 #8041BE #9E6FCE #BD9CDD

Accessibility & contrast

On white

6.15
#8041BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8041BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041BE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041BE#FFFFFF#000000##FFFFFF
##8041BE1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#1561BB
Tritanopia (blue-blind)
#745D7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8041be;
/* rgb */ color: rgb(128, 65, 190);
/* oklch */ color: oklch(51.7% 0.189 303.6);
Tailwind
colors: {
  custom: {
    50: '#a97ad2',
    500: '#8041be',
    950: '#000000',
  },
}
SCSS
$custom: #8041be;
$custom-light: #a97ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8041be",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 270.24,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.18873,
    "h": 303.6
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#8041BE
secondary
#ADC991
accent
#D94F93
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8041BE

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

Preview Lab → · Contrast checker → · Palette generator →

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