#8F41D2#8F41D2

#8F41D2 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.213 H 304.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8F41D2
RGBrgb(143, 65, 210)
HSLhsl(272, 62%, 54%)
HSVhsv(272, 69%, 82%)
CMYKcmyk(31.9%, 69%, 0%, 17.6%)
CIE-LABlab(44.62, 58.41, -61.61)
CIE-LCHlch(44.62, 84.89, 313.47°)
OKLaboklab(54.84% 0.1222 -0.175)
OKLCHoklch(54.84% 0.213 304.9)
XYZxyz(24.8482, 14.2735, 62.4063)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41D2 #84D241
analogous
#4741D2 #8F41D2 #D241CD
triadic
#8F41D2 #D28F41 #41D28F
tetradic
#8F41D2 #D24741 #84D241 #41CDD2
square
#8F41D2 #D24741 #84D241 #41CDD2
split-complementary
#8F41D2 #CDD241 #41D247
monochromatic
#501D7B #7029AD #8F41D2 #AC72DE #C9A4E9

Accessibility & contrast

On white

5.45
#8F41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8F41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41D2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41D2#FFFFFF#000000##FFFFFF
##8F41D21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#836285
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f41d2;
/* rgb */ color: rgb(143, 65, 210);
/* oklch */ color: oklch(54.8% 0.213 304.9);
Tailwind
colors: {
  custom: {
    50: '#b57ce1',
    500: '#8f41d2',
    950: '#000000',
  },
}
SCSS
$custom: #8f41d2;
$custom-light: #b57ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41d2",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 272.276,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54842,
    "c": 0.21345,
    "h": 304.9
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

primary
#8F41D2
secondary
#B5D698
accent
#E5438E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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