#8C41CE#8C41CE

#8C41CE is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.2% C 0.209 H 304.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8C41CE
RGBrgb(140, 65, 206)
HSLhsl(272, 59%, 53%)
HSVhsv(272, 68%, 81%)
CMYKcmyk(32%, 68.4%, 0%, 19.2%)
CIE-LABlab(43.96, 56.88, -60.39)
CIE-LCHlch(43.96, 82.96, 313.28°)
OKLaboklab(54.2% 0.1187 -0.1716)
OKLCHoklch(54.2% 0.209 304.7)
XYZxyz(23.8436, 13.8124, 59.7905)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C41CE #83CE41
analogous
#4541CE #8C41CE #CE41C9
triadic
#8C41CE #CE8C41 #41CE8C
tetradic
#8C41CE #CE4541 #83CE41 #41C9CE
square
#8C41CE #CE4541 #83CE41 #41C9CE
split-complementary
#8C41CE #C9CE41 #41CE45
monochromatic
#4D1E76 #6D2BA7 #8C41CE #A972DB #C7A2E7

Accessibility & contrast

On white

5.58
#8C41CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8C41CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C41CE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C41CE#FFFFFF#000000##FFFFFF
##8C41CE1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0468CB
Tritanopia (blue-blind)
#806183
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8c41ce;
/* rgb */ color: rgb(140, 65, 206);
/* oklch */ color: oklch(54.2% 0.209 304.7);
Tailwind
colors: {
  custom: {
    50: '#b37bde',
    500: '#8c41ce',
    950: '#000000',
  },
}
SCSS
$custom: #8c41ce;
$custom-light: #b37bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8c41ce",
  "rgb": {
    "r": 140,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 271.915,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.542,
    "c": 0.2086,
    "h": 304.7
  },
  "luminance": 0.13812
}

Semantic roles & 50–950 ramp

primary
#8C41CE
secondary
#B3D497
accent
#E2468F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8C41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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