#8F41C8#8F41C8

#8F41C8 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.203 H 307.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8F41C8
RGBrgb(143, 65, 200)
HSLhsl(275, 55%, 52%)
HSVhsv(275, 68%, 78%)
CMYKcmyk(28.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(43.93, 56.12, -56.96)
CIE-LCHlch(43.93, 79.96, 314.58°)
OKLaboklab(54.13% 0.1234 -0.1614)
OKLCHoklch(54.13% 0.203 307.4)
XYZxyz(23.6411, 13.7907, 56.0488)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41C8 #7AC841
analogous
#4C41C8 #8F41C8 #C841BD
triadic
#8F41C8 #C88F41 #41C88F
tetradic
#8F41C8 #C84C41 #7AC841 #41BDC8
square
#8F41C8 #C84C41 #7AC841 #41BDC8
split-complementary
#8F41C8 #BDC841 #41C84C
monochromatic
#4D206F #6F2E9E #8F41C8 #AB70D6 #C7A0E3

Accessibility & contrast

On white

5.59
#8F41C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8F41C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41C8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41C8#FFFFFF#000000##FFFFFF
##8F41C81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#2069C5
Tritanopia (blue-blind)
#865E7F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f41c8;
/* rgb */ color: rgb(143, 65, 200);
/* oklch */ color: oklch(54.1% 0.203 307.4);
Tailwind
colors: {
  custom: {
    50: '#b47bd9',
    500: '#8f41c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f41c8;
$custom-light: #b47bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41c8",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 274.667,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.20312,
    "h": 307.4
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#8F41C8
secondary
#AED095
accent
#DE4988
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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