#8B41DE#8B41DE

#8B41DE is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.3% C 0.225 H 300.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8B41DE
RGBrgb(139, 65, 222)
HSLhsl(268, 70%, 56%)
HSVhsv(268, 71%, 87%)
CMYKcmyk(37.4%, 70.7%, 0%, 12.9%)
CIE-LABlab(45.00, 60.46, -67.88)
CIE-LCHlch(45.00, 90.91, 311.69°)
OKLaboklab(55.28% 0.1148 -0.1936)
OKLCHoklch(55.28% 0.225 300.7)
XYZxyz(25.7193, 14.5433, 70.5452)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41DE #94DE41
analogous
#4146DE #8B41DE #DA41DE
triadic
#8B41DE #DE8B41 #41DE8B
tetradic
#8B41DE #DE4146 #94DE41 #41DEDA
square
#8B41DE #DE4146 #94DE41 #41DEDA
split-complementary
#8B41DE #DEDA41 #46DE41
monochromatic
#4F188C #6C21C0 #8B41DE #AB75E7 #CBA9F0

Accessibility & contrast

On white

5.37
#8B41DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8B41DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41DE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41DE#FFFFFF#000000##FFFFFF
##8B41DE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#79678B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b41de;
/* rgb */ color: rgb(139, 65, 222);
/* oklch */ color: oklch(55.3% 0.225 300.7);
Tailwind
colors: {
  custom: {
    50: '#b37ce9',
    500: '#8b41de',
    950: '#000000',
  },
}
SCSS
$custom: #8b41de;
$custom-light: #b37ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41de",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 268.28,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55279,
    "c": 0.22511,
    "h": 300.7
  },
  "luminance": 0.14543
}

Semantic roles & 50–950 ramp

primary
#8B41DE
secondary
#BFDE9D
accent
#ED3B99
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B41DE

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

Preview Lab → · Contrast checker → · Palette generator →

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