#8A41CA#8A41CA

#8A41CA is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.204 H 304.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A41CA
RGBrgb(138, 65, 202)
HSLhsl(272, 56%, 52%)
HSVhsv(272, 68%, 79%)
CMYKcmyk(31.7%, 67.8%, 0%, 20.8%)
CIE-LABlab(43.43, 55.54, -58.95)
CIE-LCHlch(43.43, 81.00, 313.29°)
OKLaboklab(53.68% 0.1165 -0.1674)
OKLCHoklch(53.68% 0.204 304.8)
XYZxyz(23.0298, 13.4483, 57.2482)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41CA #81CA41
analogous
#4641CA #8A41CA #CA41C6
triadic
#8A41CA #CA8A41 #41CA8A
tetradic
#8A41CA #CA4641 #81CA41 #41C6CA
square
#8A41CA #CA4641 #81CA41 #41C6CA
split-complementary
#8A41CA #C6CA41 #41CA46
monochromatic
#4B2071 #6B2DA1 #8A41CA #A771D7 #C5A1E5

Accessibility & contrast

On white

5.69
#8A41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8A41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41CA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41CA#FFFFFF#000000##FFFFFF
##8A41CA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0E67C7
Tritanopia (blue-blind)
#7E6080
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a41ca;
/* rgb */ color: rgb(138, 65, 202);
/* oklch */ color: oklch(53.7% 0.204 304.8);
Tailwind
colors: {
  custom: {
    50: '#b17bdb',
    500: '#8a41ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a41ca;
$custom-light: #b17bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41ca",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 271.971,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53677,
    "c": 0.20395,
    "h": 304.8
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#8A41CA
secondary
#B1D196
accent
#E0488F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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