#8B41CC#8B41CC

#8B41CC is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.206 H 304.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8B41CC
RGBrgb(139, 65, 204)
HSLhsl(272, 58%, 53%)
HSVhsv(272, 68%, 80%)
CMYKcmyk(31.9%, 68.1%, 0%, 20%)
CIE-LABlab(43.70, 56.21, -59.68)
CIE-LCHlch(43.70, 81.98, 313.29°)
OKLaboklab(53.94% 0.1176 -0.1695)
OKLCHoklch(53.94% 0.206 304.8)
XYZxyz(23.4344, 13.6293, 58.5112)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41CC #82CC41
analogous
#4541CC #8B41CC #CC41C8
triadic
#8B41CC #CC8B41 #41CC8B
tetradic
#8B41CC #CC4541 #82CC41 #41C8CC
square
#8B41CC #CC4541 #82CC41 #41C8CC
split-complementary
#8B41CC #C8CC41 #41CC45
monochromatic
#4C1F74 #6C2CA4 #8B41CC #A871D9 #C6A1E6

Accessibility & contrast

On white

5.64
#8B41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B41CC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41CC#FFFFFF#000000##FFFFFF
##8B41CC1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0967C9
Tritanopia (blue-blind)
#7F6081
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b41cc;
/* rgb */ color: rgb(139, 65, 204);
/* oklch */ color: oklch(53.9% 0.206 304.8);
Tailwind
colors: {
  custom: {
    50: '#b27bdc',
    500: '#8b41cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b41cc;
$custom-light: #b27bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41cc",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 271.942,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53938,
    "c": 0.20629,
    "h": 304.8
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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