#8F41DB#8F41DB

#8F41DB is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.5% C 0.223 H 302.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8F41DB
RGBrgb(143, 65, 219)
HSLhsl(270, 68%, 56%)
HSVhsv(270, 70%, 86%)
CMYKcmyk(34.7%, 70.3%, 0%, 14.1%)
CIE-LABlab(45.27, 60.49, -65.72)
CIE-LCHlch(45.27, 89.32, 312.63°)
OKLaboklab(55.51% 0.1208 -0.1871)
OKLCHoklch(55.51% 0.223 302.8)
XYZxyz(26.0012, 14.7347, 68.4784)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41DB #8DDB41
analogous
#4241DB #8F41DB #DB41DA
triadic
#8F41DB #DB8F41 #41DB8F
tetradic
#8F41DB #DB4241 #8DDB41 #41DADB
square
#8F41DB #DB4241 #8DDB41 #41DADB
split-complementary
#8F41DB #DADB41 #41DB42
monochromatic
#521A88 #7023BB #8F41DB #AD74E5 #CCA8EE

Accessibility & contrast

On white

5.32
#8F41DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8F41DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41DB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41DB#FFFFFF#000000##FFFFFF
##8F41DB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#80668A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f41db;
/* rgb */ color: rgb(143, 65, 219);
/* oklch */ color: oklch(55.5% 0.223 302.8);
Tailwind
colors: {
  custom: {
    50: '#b67ce7',
    500: '#8f41db',
    950: '#000000',
  },
}
SCSS
$custom: #8f41db;
$custom-light: #b67ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41db",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 270.39,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.22271,
    "h": 302.8
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#8F41DB
secondary
#BBDC9C
accent
#EB3D93
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F41DB

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

Preview Lab → · Contrast checker → · Palette generator →

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