#8F41C7#8F41C7

#8F41C7 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.202 H 307.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8F41C7
RGBrgb(143, 65, 199)
HSLhsl(275, 54%, 52%)
HSVhsv(275, 67%, 78%)
CMYKcmyk(28.1%, 67.3%, 0%, 22%)
CIE-LABlab(43.86, 55.90, -56.49)
CIE-LCHlch(43.86, 79.47, 314.70°)
OKLaboklab(54.06% 0.1235 -0.16)
OKLCHoklch(54.06% 0.202 307.7)
XYZxyz(23.5246, 13.7441, 55.4353)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41C7 #79C741
analogous
#4C41C7 #8F41C7 #C741BC
triadic
#8F41C7 #C78F41 #41C78F
tetradic
#8F41C7 #C74C41 #79C741 #41BCC7
square
#8F41C7 #C74C41 #79C741 #41BCC7
split-complementary
#8F41C7 #BCC741 #41C74C
monochromatic
#4D206D #6E2E9D #8F41C7 #AB70D5 #C7A0E3

Accessibility & contrast

On white

5.60
#8F41C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8F41C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41C7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41C7#FFFFFF#000000##FFFFFF
##8F41C71.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#865E7F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f41c7;
/* rgb */ color: rgb(143, 65, 199);
/* oklch */ color: oklch(54.1% 0.202 307.7);
Tailwind
colors: {
  custom: {
    50: '#b47bd9',
    500: '#8f41c7',
    950: '#000000',
  },
}
SCSS
$custom: #8f41c7;
$custom-light: #b47bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41c7",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 274.925,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54059,
    "c": 0.20209,
    "h": 307.7
  },
  "luminance": 0.13744
}

Semantic roles & 50–950 ramp

primary
#8F41C7
secondary
#ADCF95
accent
#DE4A88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F41C7

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

Preview Lab → · Contrast checker → · Palette generator →

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