#8F41CF#8F41CF

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

Color values

HEX#8F41CF
RGBrgb(143, 65, 207)
HSLhsl(273, 60%, 53%)
HSVhsv(273, 69%, 81%)
CMYKcmyk(30.9%, 68.6%, 0%, 18.8%)
CIE-LABlab(44.41, 57.72, -60.22)
CIE-LCHlch(44.41, 83.42, 313.78°)
OKLaboklab(54.63% 0.1226 -0.171)
OKLCHoklch(54.63% 0.21 305.6)
XYZxyz(24.4780, 14.1254, 60.4563)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41CF #81CF41
analogous
#4841CF #8F41CF #CF41C8
triadic
#8F41CF #CF8F41 #41CF8F
tetradic
#8F41CF #CF4841 #81CF41 #41C8CF
square
#8F41CF #CF4841 #81CF41 #41C8CF
split-complementary
#8F41CF #C8CF41 #41CF48
monochromatic
#4F1E77 #702BA8 #8F41CF #AC72DB #C9A3E8

Accessibility & contrast

On white

5.49
#8F41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F41CF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41CF#FFFFFF#000000##FFFFFF
##8F41CF1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0D69CC
Tritanopia (blue-blind)
#846183
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f41cf;
/* rgb */ color: rgb(143, 65, 207);
/* oklch */ color: oklch(54.6% 0.210 305.6);
Tailwind
colors: {
  custom: {
    50: '#b57bde',
    500: '#8f41cf',
    950: '#000000',
  },
}
SCSS
$custom: #8f41cf;
$custom-light: #b57bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41cf",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 272.958,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.21035,
    "h": 305.6
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

primary
#8F41CF
secondary
#B3D497
accent
#E3458C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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