#8F41CB#8F41CB

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

Color values

HEX#8F41CB
RGBrgb(143, 65, 203)
HSLhsl(274, 57%, 53%)
HSVhsv(274, 68%, 80%)
CMYKcmyk(29.6%, 68%, 0%, 20.4%)
CIE-LABlab(44.14, 56.80, -58.36)
CIE-LCHlch(44.14, 81.44, 314.22°)
OKLaboklab(54.34% 0.123 -0.1655)
OKLCHoklch(54.34% 0.206 306.6)
XYZxyz(23.9952, 13.9323, 57.9134)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41CB #7DCB41
analogous
#4A41CB #8F41CB #CB41C2
triadic
#8F41CB #CB8F41 #41CB8F
tetradic
#8F41CB #CB4A41 #7DCB41 #41C2CB
square
#8F41CB #CB4A41 #7DCB41 #41C2CB
split-complementary
#8F41CB #C2CB41 #41CB4A
monochromatic
#4E1F72 #6F2CA2 #8F41CB #AB71D8 #C8A1E5

Accessibility & contrast

On white

5.55
#8F41CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8F41CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41CB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41CB#FFFFFF#000000##FFFFFF
##8F41CB1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#1A69C8
Tritanopia (blue-blind)
#856081
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f41cb;
/* rgb */ color: rgb(143, 65, 203);
/* oklch */ color: oklch(54.3% 0.206 306.6);
Tailwind
colors: {
  custom: {
    50: '#b47bdc',
    500: '#8f41cb',
    950: '#000000',
  },
}
SCSS
$custom: #8f41cb;
$custom-light: #b47bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41cb",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 273.913,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5434,
    "c": 0.20622,
    "h": 306.6
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

primary
#8F41CB
secondary
#B0D296
accent
#E0488A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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