#8A41C6#8A41C6

#8A41C6 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.4% C 0.200 H 305.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A41C6
RGBrgb(138, 65, 198)
HSLhsl(273, 54%, 52%)
HSVhsv(273, 67%, 78%)
CMYKcmyk(30.3%, 67.2%, 0%, 22.4%)
CIE-LABlab(43.15, 54.61, -57.08)
CIE-LCHlch(43.15, 79.00, 313.73°)
OKLaboklab(53.39% 0.117 -0.1619)
OKLCHoklch(53.39% 0.2 305.8)
XYZxyz(22.5623, 13.2613, 54.7862)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41C6 #7DC641
analogous
#4841C6 #8A41C6 #C641C0
triadic
#8A41C6 #C68A41 #41C68A
tetradic
#8A41C6 #C64841 #7DC641 #41C0C6
square
#8A41C6 #C64841 #7DC641 #41C0C6
split-complementary
#8A41C6 #C0C641 #41C648
monochromatic
#4A206C #6A2F9B #8A41C6 #A770D4 #C49FE2

Accessibility & contrast

On white

5.75
#8A41C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8A41C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41C6
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41C6#FFFFFF#000000##FFFFFF
##8A41C61.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#1A66C3
Tritanopia (blue-blind)
#805E7E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a41c6;
/* rgb */ color: rgb(138, 65, 198);
/* oklch */ color: oklch(53.4% 0.200 305.8);
Tailwind
colors: {
  custom: {
    50: '#b17bd8',
    500: '#8a41c6',
    950: '#000000',
  },
}
SCSS
$custom: #8a41c6;
$custom-light: #b17bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41c6",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 198
  },
  "hsl": {
    "h": 272.932,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53391,
    "c": 0.19973,
    "h": 305.8
  },
  "luminance": 0.13261
}

Semantic roles & 50–950 ramp

primary
#8A41C6
secondary
#AFCF94
accent
#DD4B8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A41C6

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

Preview Lab → · Contrast checker → · Palette generator →

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