#8C41CD#8C41CD

#8C41CD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.208 H 304.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8C41CD
RGBrgb(140, 65, 205)
HSLhsl(272, 58%, 53%)
HSVhsv(272, 68%, 80%)
CMYKcmyk(31.7%, 68.3%, 0%, 19.6%)
CIE-LABlab(43.89, 56.65, -59.93)
CIE-LCHlch(43.89, 82.47, 313.39°)
OKLaboklab(54.13% 0.1188 -0.1702)
OKLCHoklch(54.13% 0.208 304.9)
XYZxyz(23.7225, 13.7640, 59.1527)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C41CD #82CD41
analogous
#4641CD #8C41CD #CD41C8
triadic
#8C41CD #CD8C41 #41CD8C
tetradic
#8C41CD #CD4641 #82CD41 #41C8CD
square
#8C41CD #CD4641 #82CD41 #41C8CD
split-complementary
#8C41CD #C8CD41 #41CD46
monochromatic
#4D1F75 #6D2CA5 #8C41CD #A971DA #C7A2E6

Accessibility & contrast

On white

5.60
#8C41CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8C41CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C41CD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C41CD#FFFFFF#000000##FFFFFF
##8C41CD1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0968CA
Tritanopia (blue-blind)
#806182
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8c41cd;
/* rgb */ color: rgb(140, 65, 205);
/* oklch */ color: oklch(54.1% 0.208 304.9);
Tailwind
colors: {
  custom: {
    50: '#b37bdd',
    500: '#8c41cd',
    950: '#000000',
  },
}
SCSS
$custom: #8c41cd;
$custom-light: #b37bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8c41cd",
  "rgb": {
    "r": 140,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 272.143,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54128,
    "c": 0.20756,
    "h": 304.9
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#8C41CD
secondary
#B3D397
accent
#E2468E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8C41CD

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

Preview Lab → · Contrast checker → · Palette generator →

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