#8B41C9#8B41C9

#8B41C9 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.203 H 305.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8B41C9
RGBrgb(139, 65, 201)
HSLhsl(273, 56%, 52%)
HSVhsv(273, 68%, 79%)
CMYKcmyk(30.8%, 67.7%, 0%, 21.2%)
CIE-LABlab(43.49, 55.52, -58.28)
CIE-LCHlch(43.49, 80.49, 313.61°)
OKLaboklab(53.72% 0.118 -0.1654)
OKLCHoklch(53.72% 0.203 305.5)
XYZxyz(23.0781, 13.4868, 56.6344)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41C9 #7FC941
analogous
#4741C9 #8B41C9 #C941C3
triadic
#8B41C9 #C98B41 #41C98B
tetradic
#8B41C9 #C94741 #7FC941 #41C3C9
square
#8B41C9 #C94741 #7FC941 #41C3C9
split-complementary
#8B41C9 #C3C941 #41C947
monochromatic
#4B2070 #6B2D9F #8B41C9 #A871D7 #C5A0E4

Accessibility & contrast

On white

5.68
#8B41C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8B41C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41C9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41C9#FFFFFF#000000##FFFFFF
##8B41C91.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#1467C6
Tritanopia (blue-blind)
#805F80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b41c9;
/* rgb */ color: rgb(139, 65, 201);
/* oklch */ color: oklch(53.7% 0.203 305.5);
Tailwind
colors: {
  custom: {
    50: '#b27bda',
    500: '#8b41c9',
    950: '#000000',
  },
}
SCSS
$custom: #8b41c9;
$custom-light: #b27bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41c9",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 201
  },
  "hsl": {
    "h": 272.647,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53723,
    "c": 0.20314,
    "h": 305.5
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

primary
#8B41C9
secondary
#B0D195
accent
#DF498D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B41C9

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

Preview Lab → · Contrast checker → · Palette generator →

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