#8A41B9#8A41B9

#8A41B9 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.186 H 309.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A41B9
RGBrgb(138, 65, 185)
HSLhsl(277, 48%, 49%)
HSVhsv(277, 65%, 73%)
CMYKcmyk(25.4%, 64.9%, 0%, 27.5%)
CIE-LABlab(42.29, 51.64, -50.90)
CIE-LCHlch(42.29, 72.50, 315.42°)
OKLaboklab(52.49% 0.1181 -0.1437)
OKLCHoklch(52.49% 0.186 309.4)
XYZxyz(21.1268, 12.6870, 47.2254)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41B9 #70B941
analogous
#4E41B9 #8A41B9 #B941AC
triadic
#8A41B9 #B98A41 #41B98A
tetradic
#8A41B9 #B94E41 #70B941 #41ACB9
square
#8A41B9 #B94E41 #70B941 #41ACB9
split-complementary
#8A41B9 #ACB941 #41B94E
monochromatic
#46215E #68318C #8A41B9 #A66CCB #C199DB

Accessibility & contrast

On white

5.94
#8A41B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8A41B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41B9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41B9#FFFFFF#000000##FFFFFF
##8A41B91.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#2F65B6
Tritanopia (blue-blind)
#835977
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a41b9;
/* rgb */ color: rgb(138, 65, 185);
/* oklch */ color: oklch(52.5% 0.186 309.4);
Tailwind
colors: {
  custom: {
    50: '#b07acf',
    500: '#8a41b9',
    950: '#000000',
  },
}
SCSS
$custom: #8a41b9;
$custom-light: #b07acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41b9",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 276.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52492,
    "c": 0.186,
    "h": 309.4
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#8A41B9
secondary
#A5C78F
accent
#D85085
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A41B9

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

Preview Lab → · Contrast checker → · Palette generator →

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