#9741B1#9741B1
#9741B1 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.6% C 0.183 H 317.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9741B1 |
|---|---|
| RGB | rgb(151, 65, 177) |
| HSL | hsl(286, 46%, 47%) |
| HSV | hsv(286, 63%, 69%) |
| CMYK | cmyk(14.7%, 63.3%, 0%, 30.6%) |
| CIE-LAB | lab(43.56, 52.99, -44.06) |
| CIE-LCH | lch(43.56, 68.91, 320.26°) |
| OKLab | oklab(53.63% 0.1349 -0.1233) |
| OKLCH | oklch(53.63% 0.183 317.6) |
| XYZ | xyz(22.5875, 13.5351, 43.0092) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.41
Medium Purple
#9E43A2
ΔE00 3.78
Darkorchid
#9932CC
ΔE00 4.82
Barney
#AC1DB8
ΔE00 4.89
Ugly Purple
#A442A0
ΔE00 5.05
Warm Purple
#952E8F
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9741B1 #5BB141
analogous
#5F41B1 #9741B1 #B14193
triadic
#9741B1 #B19741 #41B197
tetradic
#9741B1 #B15F41 #5BB141 #4193B1
square
#9741B1 #B15F41 #5BB141 #4193B1
split-complementary
#9741B1 #93B141 #41B15F
monochromatic
#4B2057 #713184 #9741B1 #B168C7 #C895D8
Accessibility & contrast
On white
5.67
#9741B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#9741B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9741B1
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9741B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9741B1 | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E61B4
Deuteranopia (green-blind)
#456AAE
Tritanopia (blue-blind)
#965573
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9741b1; /* rgb */ color: rgb(151, 65, 177); /* oklch */ color: oklch(53.6% 0.183 317.6);
Tailwind
colors: {
custom: {
50: '#b97bc9',
500: '#9741b1',
950: '#000000',
},
}SCSS
$custom: #9741b1; $custom-light: #b97bc9; $custom-dark: #000000;
JSON
{
"hex": "#9741b1",
"rgb": {
"r": 151,
"g": 65,
"b": 177
},
"hsl": {
"h": 286.071,
"s": 46.281,
"l": 47.451
},
"oklch": {
"l": 0.53625,
"c": 0.18274,
"h": 317.6
},
"luminance": 0.13534
}Semantic roles & 50–950 ramp
primary
#9741B1
secondary
#98C38A
accent
#D65271
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82