#8C41CF#8C41CF

#8C41CF is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.3% C 0.210 H 304.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8C41CF
RGBrgb(140, 65, 207)
HSLhsl(272, 60%, 53%)
HSVhsv(272, 69%, 81%)
CMYKcmyk(32.4%, 68.6%, 0%, 18.8%)
CIE-LABlab(44.03, 57.11, -60.86)
CIE-LCHlch(44.03, 83.46, 313.18°)
OKLaboklab(54.27% 0.1185 -0.1729)
OKLCHoklch(54.27% 0.21 304.4)
XYZxyz(23.9655, 13.8611, 60.4323)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C41CF #84CF41
analogous
#4541CF #8C41CF #CF41CB
triadic
#8C41CF #CF8C41 #41CF8C
tetradic
#8C41CF #CF4541 #84CF41 #41CBCF
square
#8C41CF #CF4541 #84CF41 #41CBCF
split-complementary
#8C41CF #CBCF41 #41CF45
monochromatic
#4D1E77 #6D2BA8 #8C41CF #AA72DB #C7A3E8

Accessibility & contrast

On white

5.57
#8C41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8C41CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C41CF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C41CF#FFFFFF#000000##FFFFFF
##8C41CF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#7F6183
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8c41cf;
/* rgb */ color: rgb(140, 65, 207);
/* oklch */ color: oklch(54.3% 0.210 304.4);
Tailwind
colors: {
  custom: {
    50: '#b37bdf',
    500: '#8c41cf',
    950: '#000000',
  },
}
SCSS
$custom: #8c41cf;
$custom-light: #b37bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8c41cf",
  "rgb": {
    "r": 140,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 271.69,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.20965,
    "h": 304.4
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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