#8A41C9#8A41C9

#8A41C9 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.203 H 305.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A41C9
RGBrgb(138, 65, 201)
HSLhsl(272, 56%, 52%)
HSVhsv(272, 68%, 79%)
CMYKcmyk(31.3%, 67.7%, 0%, 21.2%)
CIE-LABlab(43.36, 55.31, -58.49)
CIE-LCHlch(43.36, 80.50, 313.40°)
OKLaboklab(53.61% 0.1166 -0.166)
OKLCHoklch(53.61% 0.203 305.1)
XYZxyz(22.9118, 13.4011, 56.6266)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41C9 #80C941
analogous
#4641C9 #8A41C9 #C941C4
triadic
#8A41C9 #C98A41 #41C98A
tetradic
#8A41C9 #C94641 #80C941 #41C4C9
square
#8A41C9 #C94641 #80C941 #41C4C9
split-complementary
#8A41C9 #C4C941 #41C946
monochromatic
#4B2070 #6B2D9F #8A41C9 #A771D7 #C5A0E4

Accessibility & contrast

On white

5.71
#8A41C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8A41C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41C9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41C9#FFFFFF#000000##FFFFFF
##8A41C91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#1167C6
Tritanopia (blue-blind)
#7F5F80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a41c9;
/* rgb */ color: rgb(138, 65, 201);
/* oklch */ color: oklch(53.6% 0.203 305.1);
Tailwind
colors: {
  custom: {
    50: '#b17bda',
    500: '#8a41c9',
    950: '#000000',
  },
}
SCSS
$custom: #8a41c9;
$custom-light: #b17bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41c9",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 201
  },
  "hsl": {
    "h": 272.206,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.20289,
    "h": 305.1
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#8A41C9
secondary
#B1D195
accent
#DF498E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A41C9

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

Preview Lab → · Contrast checker → · Palette generator →

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