#8A41C7#8A41C7

#8A41C7 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.201 H 305.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A41C7
RGBrgb(138, 65, 199)
HSLhsl(273, 54%, 52%)
HSVhsv(273, 67%, 78%)
CMYKcmyk(30.7%, 67.3%, 0%, 22%)
CIE-LABlab(43.22, 54.85, -57.55)
CIE-LCHlch(43.22, 79.50, 313.62°)
OKLaboklab(53.46% 0.1169 -0.1633)
OKLCHoklch(53.46% 0.201 305.6)
XYZxyz(22.6781, 13.3076, 55.3957)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41C7 #7EC741
analogous
#4741C7 #8A41C7 #C741C1
triadic
#8A41C7 #C78A41 #41C78A
tetradic
#8A41C7 #C74741 #7EC741 #41C1C7
square
#8A41C7 #C74741 #7EC741 #41C1C7
split-complementary
#8A41C7 #C1C741 #41C747
monochromatic
#4A206D #6A2E9D #8A41C7 #A770D5 #C4A0E3

Accessibility & contrast

On white

5.74
#8A41C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8A41C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41C7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41C7#FFFFFF#000000##FFFFFF
##8A41C71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#1766C4
Tritanopia (blue-blind)
#7F5F7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a41c7;
/* rgb */ color: rgb(138, 65, 199);
/* oklch */ color: oklch(53.5% 0.201 305.6);
Tailwind
colors: {
  custom: {
    50: '#b17bd9',
    500: '#8a41c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a41c7;
$custom-light: #b17bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41c7",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 272.687,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.20078,
    "h": 305.6
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#8A41C7
secondary
#AFCF95
accent
#DE4A8D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A41C7

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

Preview Lab → · Contrast checker → · Palette generator →

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