#8B41D2#8B41D2

#8B41D2 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.4% C 0.213 H 303.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8B41D2
RGBrgb(139, 65, 210)
HSLhsl(271, 62%, 54%)
HSVhsv(271, 69%, 82%)
CMYKcmyk(33.8%, 69%, 0%, 17.6%)
CIE-LABlab(44.12, 57.62, -62.45)
CIE-LCHlch(44.12, 84.97, 312.70°)
OKLaboklab(54.38% 0.1168 -0.1776)
OKLCHoklch(54.38% 0.213 303.3)
XYZxyz(24.1679, 13.9227, 62.3744)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41D2 #88D241
analogous
#4341D2 #8B41D2 #D241D0
triadic
#8B41D2 #D28B41 #41D28B
tetradic
#8B41D2 #D24341 #88D241 #41D0D2
square
#8B41D2 #D24341 #88D241 #41D0D2
split-complementary
#8B41D2 #D0D241 #41D243
monochromatic
#4D1D7B #6C29AD #8B41D2 #A972DE #C7A4E9

Accessibility & contrast

On white

5.55
#8B41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8B41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41D2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41D2#FFFFFF#000000##FFFFFF
##8B41D21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#7D6385
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b41d2;
/* rgb */ color: rgb(139, 65, 210);
/* oklch */ color: oklch(54.4% 0.213 303.3);
Tailwind
colors: {
  custom: {
    50: '#b27be1',
    500: '#8b41d2',
    950: '#000000',
  },
}
SCSS
$custom: #8b41d2;
$custom-light: #b27be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41d2",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 270.621,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54376,
    "c": 0.21258,
    "h": 303.3
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#8B41D2
secondary
#B7D698
accent
#E54392
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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