#8C41CB#8C41CB

#8C41CB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.205 H 305.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8C41CB
RGBrgb(140, 65, 203)
HSLhsl(273, 57%, 53%)
HSVhsv(273, 68%, 80%)
CMYKcmyk(31%, 68%, 0%, 20.4%)
CIE-LABlab(43.75, 56.19, -59.00)
CIE-LCHlch(43.75, 81.47, 313.60°)
OKLaboklab(53.98% 0.1191 -0.1675)
OKLCHoklch(53.98% 0.205 305.4)
XYZxyz(23.4826, 13.6680, 57.8894)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C41CB #80CB41
analogous
#4741CB #8C41CB #CB41C5
triadic
#8C41CB #CB8C41 #41CB8C
tetradic
#8C41CB #CB4741 #80CB41 #41C5CB
square
#8C41CB #CB4741 #80CB41 #41C5CB
split-complementary
#8C41CB #C5CB41 #41CB47
monochromatic
#4C1F72 #6D2CA2 #8C41CB #A971D8 #C6A1E5

Accessibility & contrast

On white

5.62
#8C41CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C41CB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C41CB#FFFFFF#000000##FFFFFF
##8C41CB1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#1168C8
Tritanopia (blue-blind)
#816081
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8c41cb;
/* rgb */ color: rgb(140, 65, 203);
/* oklch */ color: oklch(54.0% 0.205 305.4);
Tailwind
colors: {
  custom: {
    50: '#b27bdc',
    500: '#8c41cb',
    950: '#000000',
  },
}
SCSS
$custom: #8c41cb;
$custom-light: #b27bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c41cb",
  "rgb": {
    "r": 140,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 272.609,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53984,
    "c": 0.20547,
    "h": 305.4
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#8C41CB
secondary
#B1D296
accent
#E0488D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8C41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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