#8C41CC#8C41CC

#8C41CC is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.207 H 305.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8C41CC
RGBrgb(140, 65, 204)
HSLhsl(272, 58%, 53%)
HSVhsv(272, 68%, 80%)
CMYKcmyk(31.4%, 68.1%, 0%, 20%)
CIE-LABlab(43.82, 56.42, -59.47)
CIE-LCHlch(43.82, 81.97, 313.49°)
OKLaboklab(54.06% 0.1189 -0.1688)
OKLCHoklch(54.06% 0.207 305.2)
XYZxyz(23.6022, 13.7158, 58.5190)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C41CC #81CC41
analogous
#4641CC #8C41CC #CC41C6
triadic
#8C41CC #CC8C41 #41CC8C
tetradic
#8C41CC #CC4641 #81CC41 #41C6CC
square
#8C41CC #CC4641 #81CC41 #41C6CC
split-complementary
#8C41CC #C6CC41 #41CC46
monochromatic
#4D1F74 #6D2CA4 #8C41CC #A971D9 #C6A1E6

Accessibility & contrast

On white

5.61
#8C41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8C41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C41CC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C41CC#FFFFFF#000000##FFFFFF
##8C41CC1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0D68C9
Tritanopia (blue-blind)
#806081
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8c41cc;
/* rgb */ color: rgb(140, 65, 204);
/* oklch */ color: oklch(54.1% 0.207 305.2);
Tailwind
colors: {
  custom: {
    50: '#b27bdc',
    500: '#8c41cc',
    950: '#000000',
  },
}
SCSS
$custom: #8c41cc;
$custom-light: #b27bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c41cc",
  "rgb": {
    "r": 140,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 272.374,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54056,
    "c": 0.20651,
    "h": 305.2
  },
  "luminance": 0.13716
}

Semantic roles & 50–950 ramp

primary
#8C41CC
secondary
#B2D396
accent
#E1478E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8C41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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