#8F41CA#8F41CA

#8F41CA is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.3% C 0.205 H 306.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8F41CA
RGBrgb(143, 65, 202)
HSLhsl(274, 56%, 52%)
HSVhsv(274, 68%, 79%)
CMYKcmyk(29.2%, 67.8%, 0%, 20.8%)
CIE-LABlab(44.07, 56.58, -57.90)
CIE-LCHlch(44.07, 80.95, 314.34°)
OKLaboklab(54.27% 0.1232 -0.1641)
OKLCHoklch(54.27% 0.205 306.9)
XYZxyz(23.8764, 13.8848, 57.2879)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41CA #7CCA41
analogous
#4B41CA #8F41CA #CA41C0
triadic
#8F41CA #CA8F41 #41CA8F
tetradic
#8F41CA #CA4B41 #7CCA41 #41C0CA
square
#8F41CA #CA4B41 #7CCA41 #41C0CA
split-complementary
#8F41CA #C0CA41 #41CA4B
monochromatic
#4E2071 #6F2DA1 #8F41CA #AB71D7 #C7A1E5

Accessibility & contrast

On white

5.56
#8F41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8F41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41CA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41CA#FFFFFF#000000##FFFFFF
##8F41CA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#1C69C7
Tritanopia (blue-blind)
#855F80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f41ca;
/* rgb */ color: rgb(143, 65, 202);
/* oklch */ color: oklch(54.3% 0.205 306.9);
Tailwind
colors: {
  custom: {
    50: '#b47bdb',
    500: '#8f41ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f41ca;
$custom-light: #b47bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41ca",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 274.161,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5427,
    "c": 0.20519,
    "h": 306.9
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

primary
#8F41CA
secondary
#AFD196
accent
#E04889
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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