#8D41D2#8D41D2

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

Color values

HEX#8D41D2
RGBrgb(141, 65, 210)
HSLhsl(271, 62%, 54%)
HSVhsv(271, 69%, 82%)
CMYKcmyk(32.9%, 69%, 0%, 17.6%)
CIE-LABlab(44.37, 58.01, -62.03)
CIE-LCHlch(44.37, 84.93, 313.08°)
OKLaboklab(54.61% 0.1195 -0.1763)
OKLCHoklch(54.61% 0.213 304.1)
XYZxyz(24.5050, 14.0965, 62.3902)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41D2 #86D241
analogous
#4541D2 #8D41D2 #D241CF
triadic
#8D41D2 #D28D41 #41D28D
tetradic
#8D41D2 #D24541 #86D241 #41CFD2
square
#8D41D2 #D24541 #86D241 #41CFD2
split-complementary
#8D41D2 #CFD241 #41D245
monochromatic
#4F1D7B #6E29AD #8D41D2 #AB72DE #C8A4E9

Accessibility & contrast

On white

5.50
#8D41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D41D2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41D2#FFFFFF#000000##FFFFFF
##8D41D21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#806285
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d41d2;
/* rgb */ color: rgb(141, 65, 210);
/* oklch */ color: oklch(54.6% 0.213 304.1);
Tailwind
colors: {
  custom: {
    50: '#b47be1',
    500: '#8d41d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d41d2;
$custom-light: #b47be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41d2",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 271.448,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.213,
    "h": 304.1
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#8D41D2
secondary
#B6D698
accent
#E54390
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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