#8F41D6#8F41D6

#8F41D6 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.218 H 304.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8F41D6
RGBrgb(143, 65, 214)
HSLhsl(271, 65%, 55%)
HSVhsv(271, 70%, 84%)
CMYKcmyk(33.2%, 69.6%, 0%, 16.1%)
CIE-LABlab(44.91, 59.33, -63.45)
CIE-LCHlch(44.91, 86.86, 313.08°)
OKLaboklab(55.14% 0.1216 -0.1804)
OKLCHoklch(55.14% 0.218 304)
XYZxyz(25.3528, 14.4753, 65.0637)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41D6 #88D641
analogous
#4441D6 #8F41D6 #D641D3
triadic
#8F41D6 #D68F41 #41D68F
tetradic
#8F41D6 #D64441 #88D641 #41D3D6
square
#8F41D6 #D64441 #88D641 #41D3D6
split-complementary
#8F41D6 #D3D641 #41D644
monochromatic
#511C81 #7027B3 #8F41D6 #AD73E1 #CAA6EC

Accessibility & contrast

On white

5.39
#8F41D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8F41D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41D6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41D6#FFFFFF#000000##FFFFFF
##8F41D61.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#816487
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f41d6;
/* rgb */ color: rgb(143, 65, 214);
/* oklch */ color: oklch(55.1% 0.218 304.0);
Tailwind
colors: {
  custom: {
    50: '#b57ce4',
    500: '#8f41d6',
    950: '#000000',
  },
}
SCSS
$custom: #8f41d6;
$custom-light: #b57ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41d6",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 271.409,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55135,
    "c": 0.21756,
    "h": 304
  },
  "luminance": 0.14475
}

Semantic roles & 50–950 ramp

primary
#8F41D6
secondary
#B8D99A
accent
#E74090
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F41D6

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

Preview Lab → · Contrast checker → · Palette generator →

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