#8A41D0#8A41D0

#8A41D0 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.210 H 303.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A41D0
RGBrgb(138, 65, 208)
HSLhsl(271, 60%, 54%)
HSVhsv(271, 69%, 82%)
CMYKcmyk(33.7%, 68.8%, 0%, 18.4%)
CIE-LABlab(43.85, 56.95, -61.73)
CIE-LCHlch(43.85, 83.99, 312.69°)
OKLaboklab(54.11% 0.1157 -0.1756)
OKLCHoklch(54.11% 0.21 303.4)
XYZxyz(23.7541, 13.7380, 61.0625)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41D0 #87D041
analogous
#4241D0 #8A41D0 #D041CF
triadic
#8A41D0 #D08A41 #41D08A
tetradic
#8A41D0 #D04241 #87D041 #41CFD0
square
#8A41D0 #D04241 #87D041 #41CFD0
split-complementary
#8A41D0 #CFD041 #41D042
monochromatic
#4C1E79 #6B2AAA #8A41D0 #A872DC #C6A3E8

Accessibility & contrast

On white

5.60
#8A41D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8A41D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41D0
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41D0#FFFFFF#000000##FFFFFF
##8A41D01.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#7C6284
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a41d0;
/* rgb */ color: rgb(138, 65, 208);
/* oklch */ color: oklch(54.1% 0.210 303.4);
Tailwind
colors: {
  custom: {
    50: '#b17bdf',
    500: '#8a41d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a41d0;
$custom-light: #b17bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41d0",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 208
  },
  "hsl": {
    "h": 270.629,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.21027,
    "h": 303.4
  },
  "luminance": 0.13738
}

Semantic roles & 50–950 ramp

primary
#8A41D0
secondary
#B6D598
accent
#E34492
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A41D0

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

Preview Lab → · Contrast checker → · Palette generator →

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