#8F41BC#8F41BC

#8F41BC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.3% C 0.191 H 310.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8F41BC
RGBrgb(143, 65, 188)
HSLhsl(278, 49%, 50%)
HSVhsv(278, 65%, 74%)
CMYKcmyk(23.9%, 65.4%, 0%, 26.3%)
CIE-LABlab(43.14, 53.44, -51.25)
CIE-LCHlch(43.14, 74.04, 316.20°)
OKLaboklab(53.31% 0.1244 -0.1446)
OKLCHoklch(53.31% 0.191 310.7)
XYZxyz(22.2934, 13.2516, 48.9506)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41BC #6EBC41
analogous
#5241BC #8F41BC #BC41AC
triadic
#8F41BC #BC8F41 #41BC8F
tetradic
#8F41BC #BC5241 #6EBC41 #41ACBC
square
#8F41BC #BC5241 #6EBC41 #41ACBC
split-complementary
#8F41BC #ACBC41 #41BC52
monochromatic
#4A2261 #6C318F #8F41BC #AA6ECD #C49BDC

Accessibility & contrast

On white

5.75
#8F41BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8F41BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41BC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41BC#FFFFFF#000000##FFFFFF
##8F41BC1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#895A79
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f41bc;
/* rgb */ color: rgb(143, 65, 188);
/* oklch */ color: oklch(53.3% 0.191 310.7);
Tailwind
colors: {
  custom: {
    50: '#b37bd1',
    500: '#8f41bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f41bc;
$custom-light: #b37bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41bc",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 278.049,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53309,
    "c": 0.19074,
    "h": 310.7
  },
  "luminance": 0.13251
}

Semantic roles & 50–950 ramp

primary
#8F41BC
secondary
#A5C990
accent
#D85082
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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