#8A41AF#8A41AF

#8A41AF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.175 H 312.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A41AF
RGBrgb(138, 65, 175)
HSLhsl(280, 46%, 47%)
HSVhsv(280, 63%, 69%)
CMYKcmyk(21.1%, 62.9%, 0%, 31.4%)
CIE-LABlab(41.66, 49.41, -46.02)
CIE-LCHlch(41.66, 67.52, 317.03°)
OKLaboklab(51.83% 0.1185 -0.1294)
OKLCHoklch(51.83% 0.175 312.5)
XYZxyz(20.1080, 12.2795, 41.8601)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41AF #66AF41
analogous
#5341AF #8A41AF #AF419D
triadic
#8A41AF #AF8A41 #41AF8A
tetradic
#8A41AF #AF5341 #66AF41 #419DAF
square
#8A41AF #AF5341 #66AF41 #419DAF
split-complementary
#8A41AF #9DAF41 #41AF53
monochromatic
#442056 #673082 #8A41AF #A667C6 #C093D7

Accessibility & contrast

On white

6.08
#8A41AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A41AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41AF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41AF#FFFFFF#000000##FFFFFF
##8A41AF1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135FB2
Deuteranopia (green-blind)
#3964AC
Tritanopia (blue-blind)
#865672
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a41af;
/* rgb */ color: rgb(138, 65, 175);
/* oklch */ color: oklch(51.8% 0.175 312.5);
Tailwind
colors: {
  custom: {
    50: '#af7ac7',
    500: '#8a41af',
    950: '#000000',
  },
}
SCSS
$custom: #8a41af;
$custom-light: #af7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41af",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 279.818,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.17546,
    "h": 312.5
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#8A41AF
secondary
#9DC289
accent
#D5527E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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