#8C41DD#8C41DD

#8C41DD is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.3% C 0.224 H 301.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8C41DD
RGBrgb(140, 65, 221)
HSLhsl(269, 70%, 56%)
HSVhsv(269, 71%, 87%)
CMYKcmyk(36.7%, 70.6%, 0%, 13.3%)
CIE-LABlab(45.05, 60.41, -67.23)
CIE-LCHlch(45.05, 90.38, 311.94°)
OKLaboklab(55.32% 0.1164 -0.1917)
OKLCHoklch(55.32% 0.224 301.3)
XYZxyz(25.7535, 14.5764, 69.8493)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C41DD #92DD41
analogous
#4144DD #8C41DD #DA41DD
triadic
#8C41DD #DD8C41 #41DD8C
tetradic
#8C41DD #DD4144 #92DD41 #41DDDA
square
#8C41DD #DD4144 #92DD41 #41DDDA
split-complementary
#8C41DD #DDDA41 #44DD41
monochromatic
#50198B #6D22BF #8C41DD #AB75E6 #CBA9F0

Accessibility & contrast

On white

5.36
#8C41DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8C41DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C41DD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C41DD#FFFFFF#000000##FFFFFF
##8C41DD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE2
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#7A678B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8c41dd;
/* rgb */ color: rgb(140, 65, 221);
/* oklch */ color: oklch(55.3% 0.224 301.3);
Tailwind
colors: {
  custom: {
    50: '#b47ce9',
    500: '#8c41dd',
    950: '#000000',
  },
}
SCSS
$custom: #8c41dd;
$custom-light: #b47ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c41dd",
  "rgb": {
    "r": 140,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 268.846,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55315,
    "c": 0.22423,
    "h": 301.3
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#8C41DD
secondary
#BEDD9D
accent
#EC3B97
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C41DD

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

Preview Lab → · Contrast checker → · Palette generator →

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