#8A41D6#8A41D6

#8A41D6 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.217 H 302.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A41D6
RGBrgb(138, 65, 214)
HSLhsl(269, 65%, 55%)
HSVhsv(269, 70%, 84%)
CMYKcmyk(35.5%, 69.6%, 0%, 16.1%)
CIE-LABlab(44.29, 58.37, -64.48)
CIE-LCHlch(44.29, 86.97, 312.15°)
OKLaboklab(54.56% 0.1148 -0.1836)
OKLCHoklch(54.56% 0.217 302)
XYZxyz(24.5062, 14.0388, 65.0240)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41D6 #8DD641
analogous
#4143D6 #8A41D6 #D441D6
triadic
#8A41D6 #D68A41 #41D68A
tetradic
#8A41D6 #D64143 #8DD641 #41D6D4
square
#8A41D6 #D64143 #8DD641 #41D6D4
split-complementary
#8A41D6 #D6D441 #43D641
monochromatic
#4D1C81 #6B27B3 #8A41D6 #A973E1 #C8A6EC

Accessibility & contrast

On white

5.51
#8A41D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8A41D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41D6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41D6#FFFFFF#000000##FFFFFF
##8A41D61.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#7A6487
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a41d6;
/* rgb */ color: rgb(138, 65, 214);
/* oklch */ color: oklch(54.6% 0.217 302.0);
Tailwind
colors: {
  custom: {
    50: '#b27be4',
    500: '#8a41d6',
    950: '#000000',
  },
}
SCSS
$custom: #8a41d6;
$custom-light: #b27be4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41d6",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 269.396,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54559,
    "c": 0.21657,
    "h": 302
  },
  "luminance": 0.14039
}

Semantic roles & 50–950 ramp

primary
#8A41D6
secondary
#BAD99A
accent
#E74096
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8A41D6

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

Preview Lab → · Contrast checker → · Palette generator →

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