#9741AF#9741AF
#9741AF is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.5% C 0.181 H 318.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9741AF |
|---|---|
| RGB | rgb(151, 65, 175) |
| HSL | hsl(287, 46%, 47%) |
| HSV | hsv(287, 63%, 69%) |
| CMYK | cmyk(13.7%, 62.9%, 0%, 31.4%) |
| CIE-LAB | lab(43.44, 52.58, -43.06) |
| CIE-LCH | lch(43.44, 67.96, 320.68°) |
| OKLab | oklab(53.5% 0.1349 -0.1204) |
| OKLCH | oklch(53.5% 0.181 318.2) |
| XYZ | xyz(22.3896, 13.4560, 41.9670) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.62
Medium Purple
#9E43A2
ΔE00 3.46
Ugly Purple
#A442A0
ΔE00 4.75
Barney
#AC1DB8
ΔE00 4.91
Darkorchid
#9932CC
ΔE00 5.14
Warm Purple
#952E8F
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9741AF #59AF41
analogous
#6041AF #9741AF #AF4190
triadic
#9741AF #AF9741 #41AF97
tetradic
#9741AF #AF6041 #59AF41 #4190AF
square
#9741AF #AF6041 #59AF41 #4190AF
split-complementary
#9741AF #90AF41 #41AF60
monochromatic
#4A2056 #703082 #9741AF #B267C6 #C893D7
Accessibility & contrast
On white
5.69
#9741AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#9741AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9741AF
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9741AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9741AF | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#975472
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9741af; /* rgb */ color: rgb(151, 65, 175); /* oklch */ color: oklch(53.5% 0.181 318.2);
Tailwind
colors: {
custom: {
50: '#b97bc7',
500: '#9741af',
950: '#000000',
},
}SCSS
$custom: #9741af; $custom-light: #b97bc7; $custom-dark: #000000;
JSON
{
"hex": "#9741af",
"rgb": {
"r": 151,
"g": 65,
"b": 175
},
"hsl": {
"h": 286.909,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.53503,
"c": 0.18078,
"h": 318.2
},
"luminance": 0.13455
}Semantic roles & 50–950 ramp
primary
#9741AF
secondary
#96C289
accent
#D5526F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82