#8F41CC#8F41CC

#8F41CC is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.4% C 0.207 H 306.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8F41CC
RGBrgb(143, 65, 204)
HSLhsl(274, 58%, 53%)
HSVhsv(274, 68%, 80%)
CMYKcmyk(29.9%, 68.1%, 0%, 20%)
CIE-LABlab(44.20, 57.03, -58.83)
CIE-LCHlch(44.20, 81.94, 314.11°)
OKLaboklab(54.41% 0.1229 -0.1669)
OKLCHoklch(54.41% 0.207 306.4)
XYZxyz(24.1147, 13.9801, 58.5431)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41CC #7ECC41
analogous
#4941CC #8F41CC #CC41C3
triadic
#8F41CC #CC8F41 #41CC8F
tetradic
#8F41CC #CC4941 #7ECC41 #41C3CC
square
#8F41CC #CC4941 #7ECC41 #41C3CC
split-complementary
#8F41CC #C3CC41 #41CC49
monochromatic
#4E1F74 #6F2CA4 #8F41CC #AB71D9 #C8A1E6

Accessibility & contrast

On white

5.53
#8F41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8F41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41CC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41CC#FFFFFF#000000##FFFFFF
##8F41CC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#1769C9
Tritanopia (blue-blind)
#856081
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f41cc;
/* rgb */ color: rgb(143, 65, 204);
/* oklch */ color: oklch(54.4% 0.207 306.4);
Tailwind
colors: {
  custom: {
    50: '#b47bdc',
    500: '#8f41cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f41cc;
$custom-light: #b47bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41cc",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 273.669,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.20726,
    "h": 306.4
  },
  "luminance": 0.1398
}

Semantic roles & 50–950 ramp

primary
#8F41CC
secondary
#B1D396
accent
#E1478A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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