#9D41BE#9D41BE

#9D41BE is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.2% C 0.198 H 315.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9D41BE
RGBrgb(157, 65, 190)
HSLhsl(284, 49%, 50%)
HSVhsv(284, 66%, 75%)
CMYKcmyk(17.4%, 65.8%, 0%, 25.5%)
CIE-LABlab(45.18, 57.05, -49.05)
CIE-LCHlch(45.18, 75.23, 319.31°)
OKLaboklab(55.22% 0.142 -0.1377)
OKLCHoklch(55.22% 0.198 315.9)
XYZxyz(25.0877, 14.6673, 50.2148)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41BE #62BE41
analogous
#5E41BE #9D41BE #BE41A1
triadic
#9D41BE #BE9D41 #41BE9D
tetradic
#9D41BE #BE5E41 #62BE41 #41A1BE
square
#9D41BE #BE5E41 #62BE41 #41A1BE
split-complementary
#9D41BE #A1BE41 #41BE5E
monochromatic
#522263 #773190 #9D41BE #B56FCE #CC9CDD

Accessibility & contrast

On white

5.34
#9D41BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9D41BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41BE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41BE#FFFFFF#000000##FFFFFF
##9D41BE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0565C2
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#9B597A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d41be;
/* rgb */ color: rgb(157, 65, 190);
/* oklch */ color: oklch(55.2% 0.198 315.9);
Tailwind
colors: {
  custom: {
    50: '#bd7cd2',
    500: '#9d41be',
    950: '#000000',
  },
}
SCSS
$custom: #9d41be;
$custom-light: #bd7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41be",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 284.16,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.55215,
    "c": 0.19783,
    "h": 315.9
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

primary
#9D41BE
secondary
#A0C991
accent
#D94F73
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9D41BE

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

Preview Lab → · Contrast checker → · Palette generator →

#9D41BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva