#8A41C4#8A41C4

#8A41C4 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.3% C 0.198 H 306.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8A41C4
RGBrgb(138, 65, 196)
HSLhsl(273, 53%, 51%)
HSVhsv(273, 67%, 77%)
CMYKcmyk(29.6%, 66.8%, 0%, 23.1%)
CIE-LABlab(43.02, 54.15, -56.14)
CIE-LCHlch(43.02, 78.00, 313.97°)
OKLaboklab(53.25% 0.1172 -0.1591)
OKLCHoklch(53.25% 0.198 306.4)
XYZxyz(22.3332, 13.1696, 53.5793)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41C4 #7BC441
analogous
#4841C4 #8A41C4 #C441BC
triadic
#8A41C4 #C48A41 #41C48A
tetradic
#8A41C4 #C44841 #7BC441 #41BCC4
square
#8A41C4 #C44841 #7BC441 #41BCC4
split-complementary
#8A41C4 #BCC441 #41C448
monochromatic
#49216A #6A2F98 #8A41C4 #A770D3 #C49EE1

Accessibility & contrast

On white

5.78
#8A41C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8A41C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41C4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41C4#FFFFFF#000000##FFFFFF
##8A41C41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#1E66C1
Tritanopia (blue-blind)
#805E7D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a41c4;
/* rgb */ color: rgb(138, 65, 196);
/* oklch */ color: oklch(53.3% 0.198 306.4);
Tailwind
colors: {
  custom: {
    50: '#b17bd7',
    500: '#8a41c4',
    950: '#000000',
  },
}
SCSS
$custom: #8a41c4;
$custom-light: #b17bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41c4",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 273.435,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5325,
    "c": 0.19762,
    "h": 306.4
  },
  "luminance": 0.13169
}

Semantic roles & 50–950 ramp

primary
#8A41C4
secondary
#ADCD93
accent
#DC4C8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A41C4

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

Preview Lab → · Contrast checker → · Palette generator →

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