#8A41BF#8A41BF

#8A41BF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.192 H 307.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A41BF
RGBrgb(138, 65, 191)
HSLhsl(275, 50%, 50%)
HSVhsv(275, 66%, 75%)
CMYKcmyk(27.7%, 66%, 0%, 25.1%)
CIE-LABlab(42.68, 53.00, -53.77)
CIE-LCHlch(42.68, 75.50, 314.59°)
OKLaboklab(52.9% 0.1176 -0.1522)
OKLCHoklch(52.9% 0.192 307.7)
XYZxyz(21.7736, 12.9458, 50.6319)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41BF #76BF41
analogous
#4B41BF #8A41BF #BF41B5
triadic
#8A41BF #BF8A41 #41BF8A
tetradic
#8A41BF #BF4B41 #76BF41 #41B5BF
square
#8A41BF #BF4B41 #76BF41 #41B5BF
split-complementary
#8A41BF #B5BF41 #41BF4B
monochromatic
#482264 #693192 #8A41BF #A66FCE #C29DDE

Accessibility & contrast

On white

5.85
#8A41BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8A41BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41BF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41BF#FFFFFF#000000##FFFFFF
##8A41BF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2765BC
Tritanopia (blue-blind)
#825C7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a41bf;
/* rgb */ color: rgb(138, 65, 191);
/* oklch */ color: oklch(52.9% 0.192 307.7);
Tailwind
colors: {
  custom: {
    50: '#b07ad3',
    500: '#8a41bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a41bf;
$custom-light: #b07ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41bf",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 274.762,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.19233,
    "h": 307.7
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#8A41BF
secondary
#A9CA92
accent
#D94F89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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