#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 |
|---|---|
| RGB | rgb(154, 65, 178) |
| HSL | hsl(287, 47%, 48%) |
| HSV | hsv(287, 63%, 70%) |
| CMYK | cmyk(13.5%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(44.04, 53.92, -43.85) |
| CIE-LCH | lch(44.04, 69.50, 320.88°) |
| OKLab | oklab(54.08% 0.1386 -0.1226) |
| OKLCH | oklch(54.08% 0.185 318.5) |
| XYZ | xyz(23.2515, 13.8660, 43.5625) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.66
Medium Purple
#9E43A2
ΔE00 3.54
Barney
#AC1DB8
ΔE00 4.64
Ugly Purple
#A442A0
ΔE00 4.72
Darkorchid
#9932CC
ΔE00 4.90
Warm Purple
#952E8F
ΔE00 7.10
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 |
|---|---|---|---|---|
| ##9A41B2 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.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