#8A41D3#8A41D3

#8A41D3 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.3% C 0.213 H 302.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A41D3
RGBrgb(138, 65, 211)
HSLhsl(270, 62%, 54%)
HSVhsv(270, 69%, 83%)
CMYKcmyk(34.6%, 69.2%, 0%, 17.3%)
CIE-LABlab(44.07, 57.66, -63.11)
CIE-LCHlch(44.07, 85.48, 312.42°)
OKLaboklab(54.34% 0.1153 -0.1796)
OKLCHoklch(54.34% 0.213 302.7)
XYZxyz(24.1266, 13.8870, 63.0248)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41D3 #8AD341
analogous
#4141D3 #8A41D3 #D341D3
triadic
#8A41D3 #D38A41 #41D38A
tetradic
#8A41D3 #D34141 #8AD341 #41D3D3
square
#8A41D3 #D34141 #8AD341 #41D3D3
split-complementary
#8A41D3 #D3D341 #41D341
monochromatic
#4D1D7D #6B28AE #8A41D3 #A973DF #C7A4EA

Accessibility & contrast

On white

5.56
#8A41D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8A41D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41D3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41D3#FFFFFF#000000##FFFFFF
##8A41D31.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#7B6385
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a41d3;
/* rgb */ color: rgb(138, 65, 211);
/* oklch */ color: oklch(54.3% 0.213 302.7);
Tailwind
colors: {
  custom: {
    50: '#b27be1',
    500: '#8a41d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a41d3;
$custom-light: #b27be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41d3",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 270,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54335,
    "c": 0.21342,
    "h": 302.7
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#8A41D3
secondary
#B8D799
accent
#E54294
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A41D3

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

Preview Lab → · Contrast checker → · Palette generator →

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