#8F41BF#8F41BF

#8F41BF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.5% C 0.194 H 309.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8F41BF
RGBrgb(143, 65, 191)
HSLhsl(277, 50%, 50%)
HSVhsv(277, 66%, 75%)
CMYKcmyk(25.1%, 66%, 0%, 25.1%)
CIE-LABlab(43.33, 54.10, -52.69)
CIE-LCHlch(43.33, 75.52, 315.76°)
OKLaboklab(53.51% 0.1242 -0.1488)
OKLCHoklch(53.51% 0.194 309.8)
XYZxyz(22.6201, 13.3823, 50.6715)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41BF #71BF41
analogous
#5041BF #8F41BF #BF41B0
triadic
#8F41BF #BF8F41 #41BF8F
tetradic
#8F41BF #BF5041 #71BF41 #41B0BF
square
#8F41BF #BF5041 #71BF41 #41B0BF
split-complementary
#8F41BF #B0BF41 #41BF50
monochromatic
#4B2264 #6D3192 #8F41BF #AA6FCE #C59DDE

Accessibility & contrast

On white

5.71
#8F41BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8F41BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41BF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41BF#FFFFFF#000000##FFFFFF
##8F41BF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#2E68BC
Tritanopia (blue-blind)
#885B7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f41bf;
/* rgb */ color: rgb(143, 65, 191);
/* oklch */ color: oklch(53.5% 0.194 309.8);
Tailwind
colors: {
  custom: {
    50: '#b47bd3',
    500: '#8f41bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f41bf;
$custom-light: #b47bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41bf",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 277.143,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.19383,
    "h": 309.8
  },
  "luminance": 0.13382
}

Semantic roles & 50–950 ramp

primary
#8F41BF
secondary
#A7CA92
accent
#D94F83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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