#8F41C2#8F41C2

#8F41C2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.7% C 0.197 H 309.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8F41C2
RGBrgb(143, 65, 194)
HSLhsl(276, 51%, 51%)
HSVhsv(276, 66%, 76%)
CMYKcmyk(26.3%, 66.5%, 0%, 23.9%)
CIE-LABlab(43.53, 54.77, -54.12)
CIE-LCHlch(43.53, 77.00, 315.34°)
OKLaboklab(53.71% 0.124 -0.153)
OKLCHoklch(53.71% 0.197 309)
XYZxyz(22.9536, 13.5157, 52.4281)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41C2 #74C241
analogous
#4E41C2 #8F41C2 #C241B4
triadic
#8F41C2 #C28F41 #41C28F
tetradic
#8F41C2 #C24E41 #74C241 #41B4C2
square
#8F41C2 #C24E41 #74C241 #41B4C2
split-complementary
#8F41C2 #B4C241 #41C24E
monochromatic
#4C2167 #6E3096 #8F41C2 #AA6FD1 #C69EE0

Accessibility & contrast

On white

5.67
#8F41C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8F41C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41C2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41C2#FFFFFF#000000##FFFFFF
##8F41C21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#885C7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f41c2;
/* rgb */ color: rgb(143, 65, 194);
/* oklch */ color: oklch(53.7% 0.197 309.0);
Tailwind
colors: {
  custom: {
    50: '#b47bd5',
    500: '#8f41c2',
    950: '#000000',
  },
}
SCSS
$custom: #8f41c2;
$custom-light: #b47bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41c2",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 276.279,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.19693,
    "h": 309
  },
  "luminance": 0.13515
}

Semantic roles & 50–950 ramp

primary
#8F41C2
secondary
#A9CC93
accent
#DB4D85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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