#8A41CE#8A41CE

#8A41CE is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.208 H 303.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A41CE
RGBrgb(138, 65, 206)
HSLhsl(271, 59%, 53%)
HSVhsv(271, 68%, 81%)
CMYKcmyk(33%, 68.4%, 0%, 19.2%)
CIE-LABlab(43.71, 56.48, -60.81)
CIE-LCHlch(43.71, 82.99, 312.89°)
OKLaboklab(53.97% 0.116 -0.1729)
OKLCHoklch(53.97% 0.208 303.9)
XYZxyz(23.5096, 13.6402, 59.7748)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41CE #85CE41
analogous
#4341CE #8A41CE #CE41CB
triadic
#8A41CE #CE8A41 #41CE8A
tetradic
#8A41CE #CE4341 #85CE41 #41CBCE
square
#8A41CE #CE4341 #85CE41 #41CBCE
split-complementary
#8A41CE #CBCE41 #41CE43
monochromatic
#4C1E76 #6B2BA7 #8A41CE #A872DB #C6A2E7

Accessibility & contrast

On white

5.63
#8A41CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8A41CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41CE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41CE#FFFFFF#000000##FFFFFF
##8A41CE1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#7D6183
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a41ce;
/* rgb */ color: rgb(138, 65, 206);
/* oklch */ color: oklch(54.0% 0.208 303.9);
Tailwind
colors: {
  custom: {
    50: '#b17bde',
    500: '#8a41ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a41ce;
$custom-light: #b17bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41ce",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 271.064,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53967,
    "c": 0.20817,
    "h": 303.9
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#8A41CE
secondary
#B4D497
accent
#E24691
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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