#8A41C2#8A41C2

#8A41C2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.1% C 0.196 H 306.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A41C2
RGBrgb(138, 65, 194)
HSLhsl(274, 51%, 51%)
HSVhsv(274, 66%, 76%)
CMYKcmyk(28.9%, 66.5%, 0%, 23.9%)
CIE-LABlab(42.88, 53.69, -55.20)
CIE-LCHlch(42.88, 77.00, 314.21°)
OKLaboklab(53.11% 0.1174 -0.1564)
OKLCHoklch(53.11% 0.196 306.9)
XYZxyz(22.1071, 13.0792, 52.3884)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41C2 #79C241
analogous
#4941C2 #8A41C2 #C241BA
triadic
#8A41C2 #C28A41 #41C28A
tetradic
#8A41C2 #C24941 #79C241 #41BAC2
square
#8A41C2 #C24941 #79C241 #41BAC2
split-complementary
#8A41C2 #BAC241 #41C249
monochromatic
#492167 #6A3096 #8A41C2 #A76FD1 #C39EE0

Accessibility & contrast

On white

5.81
#8A41C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8A41C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41C2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41C2#FFFFFF#000000##FFFFFF
##8A41C21.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#815D7C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a41c2;
/* rgb */ color: rgb(138, 65, 194);
/* oklch */ color: oklch(53.1% 0.196 306.9);
Tailwind
colors: {
  custom: {
    50: '#b07bd5',
    500: '#8a41c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a41c2;
$custom-light: #b07bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41c2",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 273.953,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5311,
    "c": 0.1955,
    "h": 306.9
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#8A41C2
secondary
#ACCC93
accent
#DB4D8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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