#8F41BB#8F41BB

#8F41BB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.2% C 0.190 H 311.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8F41BB
RGBrgb(143, 65, 187)
HSLhsl(278, 48%, 49%)
HSVhsv(278, 65%, 73%)
CMYKcmyk(23.5%, 65.2%, 0%, 26.7%)
CIE-LABlab(43.08, 53.22, -50.77)
CIE-LCHlch(43.08, 73.55, 316.35°)
OKLaboklab(53.24% 0.1245 -0.1432)
OKLCHoklch(53.24% 0.19 311)
XYZxyz(22.1859, 13.2086, 48.3849)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41BB #6DBB41
analogous
#5241BB #8F41BB #BB41AA
triadic
#8F41BB #BB8F41 #41BB8F
tetradic
#8F41BB #BB5241 #6DBB41 #41AABB
square
#8F41BB #BB5241 #6DBB41 #41AABB
split-complementary
#8F41BB #AABB41 #41BB52
monochromatic
#4A2160 #6C318E #8F41BB #AA6DCC #C49ADC

Accessibility & contrast

On white

5.77
#8F41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8F41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41BB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41BB#FFFFFF#000000##FFFFFF
##8F41BB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#895978
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f41bb;
/* rgb */ color: rgb(143, 65, 187);
/* oklch */ color: oklch(53.2% 0.190 311.0);
Tailwind
colors: {
  custom: {
    50: '#b37bd0',
    500: '#8f41bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f41bb;
$custom-light: #b37bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41bb",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 278.361,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.18971,
    "h": 311
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

primary
#8F41BB
secondary
#A4C890
accent
#D85081
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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