#8A41D7#8A41D7

#8A41D7 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.6% C 0.218 H 301.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A41D7
RGBrgb(138, 65, 215)
HSLhsl(269, 65%, 55%)
HSVhsv(269, 70%, 84%)
CMYKcmyk(35.8%, 69.8%, 0%, 15.7%)
CIE-LABlab(44.36, 58.61, -64.93)
CIE-LCHlch(44.36, 87.47, 312.07°)
OKLaboklab(54.63% 0.1147 -0.185)
OKLCHoklch(54.63% 0.218 301.8)
XYZxyz(24.6343, 14.0901, 65.6986)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41D7 #8ED741
analogous
#4143D7 #8A41D7 #D541D7
triadic
#8A41D7 #D78A41 #41D78A
tetradic
#8A41D7 #D74143 #8ED741 #41D7D5
square
#8A41D7 #D74143 #8ED741 #41D7D5
split-complementary
#8A41D7 #D7D541 #43D741
monochromatic
#4D1B82 #6B26B5 #8A41D7 #A974E2 #C8A6EC

Accessibility & contrast

On white

5.50
#8A41D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8A41D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41D7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41D7#FFFFFF#000000##FFFFFF
##8A41D71.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#7A6588
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a41d7;
/* rgb */ color: rgb(138, 65, 215);
/* oklch */ color: oklch(54.6% 0.218 301.8);
Tailwind
colors: {
  custom: {
    50: '#b27be4',
    500: '#8a41d7',
    950: '#000000',
  },
}
SCSS
$custom: #8a41d7;
$custom-light: #b27be4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41d7",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 269.2,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.21762,
    "h": 301.8
  },
  "luminance": 0.1409
}

Semantic roles & 50–950 ramp

primary
#8A41D7
secondary
#BBD99A
accent
#E84096
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8A41D7

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

Preview Lab → · Contrast checker → · Palette generator →

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