#8F41CE#8F41CE

#8F41CE is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.6% C 0.209 H 305.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8F41CE
RGBrgb(143, 65, 206)
HSLhsl(273, 59%, 53%)
HSVhsv(273, 68%, 81%)
CMYKcmyk(30.6%, 68.4%, 0%, 19.2%)
CIE-LABlab(44.34, 57.49, -59.76)
CIE-LCHlch(44.34, 82.92, 313.89°)
OKLaboklab(54.55% 0.1227 -0.1696)
OKLCHoklch(54.55% 0.209 305.9)
XYZxyz(24.3561, 14.0767, 59.8145)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41CE #80CE41
analogous
#4841CE #8F41CE #CE41C7
triadic
#8F41CE #CE8F41 #41CE8F
tetradic
#8F41CE #CE4841 #80CE41 #41C7CE
square
#8F41CE #CE4841 #80CE41 #41C7CE
split-complementary
#8F41CE #C7CE41 #41CE48
monochromatic
#4F1E76 #6F2BA7 #8F41CE #AC72DB #C8A2E7

Accessibility & contrast

On white

5.50
#8F41CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8F41CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41CE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41CE#FFFFFF#000000##FFFFFF
##8F41CE1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#1169CB
Tritanopia (blue-blind)
#846183
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f41ce;
/* rgb */ color: rgb(143, 65, 206);
/* oklch */ color: oklch(54.6% 0.209 305.9);
Tailwind
colors: {
  custom: {
    50: '#b57bde',
    500: '#8f41ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f41ce;
$custom-light: #b57bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41ce",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 273.191,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54554,
    "c": 0.20932,
    "h": 305.9
  },
  "luminance": 0.14076
}

Semantic roles & 50–950 ramp

primary
#8F41CE
secondary
#B2D497
accent
#E2468C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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