#8F41D9#8F41D9

#8F41D9 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.221 H 303.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8F41D9
RGBrgb(143, 65, 217)
HSLhsl(271, 67%, 55%)
HSVhsv(271, 70%, 85%)
CMYKcmyk(34.1%, 70%, 0%, 14.9%)
CIE-LABlab(45.12, 60.03, -64.81)
CIE-LCHlch(45.12, 88.34, 312.80°)
OKLaboklab(55.36% 0.1211 -0.1844)
OKLCHoklch(55.36% 0.221 303.3)
XYZxyz(25.7395, 14.6300, 67.1000)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41D9 #8BD941
analogous
#4341D9 #8F41D9 #D941D7
triadic
#8F41D9 #D98F41 #41D98F
tetradic
#8F41D9 #D94341 #8BD941 #41D7D9
square
#8F41D9 #D94341 #8BD941 #41D7D9
split-complementary
#8F41D9 #D7D941 #41D943
monochromatic
#511B85 #7025B8 #8F41D9 #AD74E3 #CBA7ED

Accessibility & contrast

On white

5.35
#8F41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8F41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41D9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41D9#FFFFFF#000000##FFFFFF
##8F41D91.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#806589
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f41d9;
/* rgb */ color: rgb(143, 65, 217);
/* oklch */ color: oklch(55.4% 0.221 303.3);
Tailwind
colors: {
  custom: {
    50: '#b57ce6',
    500: '#8f41d9',
    950: '#000000',
  },
}
SCSS
$custom: #8f41d9;
$custom-light: #b57ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41d9",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 270.789,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.22066,
    "h": 303.3
  },
  "luminance": 0.1463
}

Semantic roles & 50–950 ramp

primary
#8F41D9
secondary
#BADB9B
accent
#EA3E92
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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