#8A41C0#8A41C0

#8A41C0 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.0% C 0.193 H 307.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A41C0
RGBrgb(138, 65, 192)
HSLhsl(274, 50%, 50%)
HSVhsv(274, 66%, 75%)
CMYKcmyk(28.1%, 66.1%, 0%, 24.7%)
CIE-LABlab(42.75, 53.23, -54.25)
CIE-LCHlch(42.75, 76.00, 314.46°)
OKLaboklab(52.97% 0.1175 -0.1536)
OKLCHoklch(52.97% 0.193 307.4)
XYZxyz(21.8840, 12.9899, 51.2134)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41C0 #77C041
analogous
#4A41C0 #8A41C0 #C041B7
triadic
#8A41C0 #C08A41 #41C08A
tetradic
#8A41C0 #C04A41 #77C041 #41B7C0
square
#8A41C0 #C04A41 #77C041 #41B7C0
split-complementary
#8A41C0 #B7C041 #41C04A
monochromatic
#482265 #693193 #8A41C0 #A66FCF #C39DDE

Accessibility & contrast

On white

5.84
#8A41C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8A41C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41C0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41C0#FFFFFF#000000##FFFFFF
##8A41C01.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#2566BD
Tritanopia (blue-blind)
#815C7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a41c0;
/* rgb */ color: rgb(138, 65, 192);
/* oklch */ color: oklch(53.0% 0.193 307.4);
Tailwind
colors: {
  custom: {
    50: '#b07ad4',
    500: '#8a41c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a41c0;
$custom-light: #b07ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41c0",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 274.488,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.19339,
    "h": 307.4
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#8A41C0
secondary
#AACB92
accent
#DA4E89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A41C0

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

Preview Lab → · Contrast checker → · Palette generator →

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