#9A41B2#9A41B2

#9A41B2 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.1% C 0.185 H 318.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9A41B2
RGBrgb(154, 65, 178)
HSLhsl(287, 47%, 48%)
HSVhsv(287, 63%, 70%)
CMYKcmyk(13.5%, 63.5%, 0%, 30.2%)
CIE-LABlab(44.04, 53.92, -43.85)
CIE-LCHlch(44.04, 69.50, 320.88°)
OKLaboklab(54.08% 0.1386 -0.1226)
OKLCHoklch(54.08% 0.185 318.5)
XYZxyz(23.2515, 13.8660, 43.5625)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A41B2 #59B241
analogous
#6241B2 #9A41B2 #B24191
triadic
#9A41B2 #B29A41 #41B29A
tetradic
#9A41B2 #B26241 #59B241 #4191B2
square
#9A41B2 #B26241 #59B241 #4191B2
split-complementary
#9A41B2 #91B241 #41B262
monochromatic
#4C2058 #733185 #9A41B2 #B468C8 #CA95D8

Accessibility & contrast

On white

5.57
#9A41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9A41B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A41B2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A41B2#FFFFFF#000000##FFFFFF
##9A41B21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F62B5
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#9A5474
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a41b2;
/* rgb */ color: rgb(154, 65, 178);
/* oklch */ color: oklch(54.1% 0.185 318.5);
Tailwind
colors: {
  custom: {
    50: '#bb7bc9',
    500: '#9a41b2',
    950: '#000000',
  },
}
SCSS
$custom: #9a41b2;
$custom-light: #bb7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a41b2",
  "rgb": {
    "r": 154,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 287.257,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.18503,
    "h": 318.5
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#9A41B2
secondary
#97C48B
accent
#D6526E
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9A41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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