#8A41BE#8A41BE

#8A41BE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.191 H 308.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A41BE
RGBrgb(138, 65, 190)
HSLhsl(275, 49%, 50%)
HSVhsv(275, 66%, 75%)
CMYKcmyk(27.4%, 65.8%, 0%, 25.5%)
CIE-LABlab(42.62, 52.77, -53.30)
CIE-LCHlch(42.62, 75.00, 314.72°)
OKLaboklab(52.83% 0.1177 -0.1508)
OKLCHoklch(52.83% 0.191 308)
XYZxyz(21.6639, 12.9019, 50.0543)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41BE #75BE41
analogous
#4B41BE #8A41BE #BE41B4
triadic
#8A41BE #BE8A41 #41BE8A
tetradic
#8A41BE #BE4B41 #75BE41 #41B4BE
square
#8A41BE #BE4B41 #75BE41 #41B4BE
split-complementary
#8A41BE #B4BE41 #41BE4B
monochromatic
#482263 #693190 #8A41BE #A66FCE #C29CDD

Accessibility & contrast

On white

5.87
#8A41BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8A41BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41BE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41BE#FFFFFF#000000##FFFFFF
##8A41BE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#2865BB
Tritanopia (blue-blind)
#825B7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a41be;
/* rgb */ color: rgb(138, 65, 190);
/* oklch */ color: oklch(52.8% 0.191 308.0);
Tailwind
colors: {
  custom: {
    50: '#b07ad2',
    500: '#8a41be',
    950: '#000000',
  },
}
SCSS
$custom: #8a41be;
$custom-light: #b07ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41be",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 275.04,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.19128,
    "h": 308
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#8A41BE
secondary
#A9C991
accent
#D94F88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A41BE

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

Preview Lab → · Contrast checker → · Palette generator →

#8A41BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva