#8A41D1#8A41D1

#8A41D1 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.2% C 0.211 H 303.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A41D1
RGBrgb(138, 65, 209)
HSLhsl(270, 61%, 54%)
HSVhsv(270, 69%, 82%)
CMYKcmyk(34%, 68.9%, 0%, 18%)
CIE-LABlab(43.93, 57.19, -62.19)
CIE-LCHlch(43.93, 84.49, 312.60°)
OKLaboklab(54.19% 0.1156 -0.1769)
OKLCHoklch(54.19% 0.211 303.2)
XYZxyz(23.8775, 13.7873, 61.7125)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41D1 #88D141
analogous
#4241D1 #8A41D1 #D141D0
triadic
#8A41D1 #D18A41 #41D18A
tetradic
#8A41D1 #D14241 #88D141 #41D0D1
square
#8A41D1 #D14241 #88D141 #41D0D1
split-complementary
#8A41D1 #D0D141 #41D142
monochromatic
#4C1E7A #6B29AB #8A41D1 #A872DD #C7A4E9

Accessibility & contrast

On white

5.59
#8A41D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8A41D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41D1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41D1#FFFFFF#000000##FFFFFF
##8A41D11.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#7C6284
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a41d1;
/* rgb */ color: rgb(138, 65, 209);
/* oklch */ color: oklch(54.2% 0.211 303.2);
Tailwind
colors: {
  custom: {
    50: '#b17be0',
    500: '#8a41d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a41d1;
$custom-light: #b17be0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41d1",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 270.417,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54187,
    "c": 0.21132,
    "h": 303.2
  },
  "luminance": 0.13787
}

Semantic roles & 50–950 ramp

primary
#8A41D1
secondary
#B6D698
accent
#E44493
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A41D1

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

Preview Lab → · Contrast checker → · Palette generator →

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