#9D41B2#9D41B2

#9D41B2 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.5% C 0.186 H 319.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9D41B2
RGBrgb(157, 65, 178)
HSLhsl(289, 47%, 48%)
HSVhsv(289, 63%, 70%)
CMYKcmyk(11.8%, 63.5%, 0%, 30.2%)
CIE-LABlab(44.47, 54.65, -43.15)
CIE-LCHlch(44.47, 69.63, 321.71°)
OKLaboklab(54.48% 0.1422 -0.1205)
OKLCHoklch(54.48% 0.186 319.7)
XYZxyz(23.8298, 14.1641, 43.5896)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41B2 #56B241
analogous
#6541B2 #9D41B2 #B2418E
triadic
#9D41B2 #B29D41 #41B29D
tetradic
#9D41B2 #B26541 #56B241 #418EB2
square
#9D41B2 #B26541 #56B241 #418EB2
split-complementary
#9D41B2 #8EB241 #41B265
monochromatic
#4E2058 #753185 #9D41B2 #B668C8 #CC95D8

Accessibility & contrast

On white

5.48
#9D41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9D41B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41B2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41B2#FFFFFF#000000##FFFFFF
##9D41B21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B5
Deuteranopia (green-blind)
#4A6CAF
Tritanopia (blue-blind)
#9E5474
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d41b2;
/* rgb */ color: rgb(157, 65, 178);
/* oklch */ color: oklch(54.5% 0.186 319.7);
Tailwind
colors: {
  custom: {
    50: '#bd7cc9',
    500: '#9d41b2',
    950: '#000000',
  },
}
SCSS
$custom: #9d41b2;
$custom-light: #bd7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41b2",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 288.85,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.18638,
    "h": 319.7
  },
  "luminance": 0.14163
}

Semantic roles & 50–950 ramp

primary
#9D41B2
secondary
#95C48B
accent
#D6526A
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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