#8A41BC#8A41BC

#8A41BC is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.189 H 308.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8A41BC
RGBrgb(138, 65, 188)
HSLhsl(276, 49%, 50%)
HSVhsv(276, 65%, 74%)
CMYKcmyk(26.6%, 65.4%, 0%, 26.3%)
CIE-LABlab(42.48, 52.32, -52.34)
CIE-LCHlch(42.48, 74.00, 314.99°)
OKLaboklab(52.7% 0.1179 -0.148)
OKLCHoklch(52.7% 0.189 308.5)
XYZxyz(21.4468, 12.8151, 48.9109)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41BC #73BC41
analogous
#4D41BC #8A41BC #BC41B1
triadic
#8A41BC #BC8A41 #41BC8A
tetradic
#8A41BC #BC4D41 #73BC41 #41B1BC
square
#8A41BC #BC4D41 #73BC41 #41B1BC
split-complementary
#8A41BC #B1BC41 #41BC4D
monochromatic
#472261 #69318F #8A41BC #A66ECD #C29BDC

Accessibility & contrast

On white

5.89
#8A41BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8A41BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41BC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41BC#FFFFFF#000000##FFFFFF
##8A41BC1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#2B65B9
Tritanopia (blue-blind)
#835B79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a41bc;
/* rgb */ color: rgb(138, 65, 188);
/* oklch */ color: oklch(52.7% 0.189 308.5);
Tailwind
colors: {
  custom: {
    50: '#b07ad1',
    500: '#8a41bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a41bc;
$custom-light: #b07ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41bc",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 275.61,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.18916,
    "h": 308.5
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

primary
#8A41BC
secondary
#A7C990
accent
#D85087
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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