#8741B1#8741B1
#8741B1 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.177 H 310.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8741B1 |
|---|---|
| RGB | rgb(135, 65, 177) |
| HSL | hsl(278, 46%, 47%) |
| HSV | hsv(278, 63%, 69%) |
| CMYK | cmyk(23.7%, 63.3%, 0%, 30.6%) |
| CIE-LAB | lab(41.38, 49.14, -47.66) |
| CIE-LCH | lch(41.38, 68.45, 315.87°) |
| OKLab | oklab(51.59% 0.1145 -0.1343) |
| OKLCH | oklch(51.59% 0.177 310.4) |
| XYZ | xyz(19.8163, 12.1062, 42.8793) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.38
Darkorchid
#9932CC
ΔE00 4.84
Royal Purple
#7851A9
ΔE00 5.09
Medium Purple
#9E43A2
ΔE00 6.56
Barney
#AC1DB8
ΔE00 7.08
Purple (survey)
#7E1E9C
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8741B1 #6BB141
analogous
#4F41B1 #8741B1 #B141A3
triadic
#8741B1 #B18741 #41B187
tetradic
#8741B1 #B14F41 #6BB141 #41A3B1
square
#8741B1 #B14F41 #6BB141 #41A3B1
split-complementary
#8741B1 #A3B141 #41B14F
monochromatic
#432057 #653184 #8741B1 #A468C7 #BF95D8
Accessibility & contrast
On white
6.14
#8741B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#8741B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8741B1
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8741B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8741B1 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#085EB4
Deuteranopia (green-blind)
#3463AE
Tritanopia (blue-blind)
#825773
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8741b1; /* rgb */ color: rgb(135, 65, 177); /* oklch */ color: oklch(51.6% 0.177 310.4);
Tailwind
colors: {
custom: {
50: '#ad7ac9',
500: '#8741b1',
950: '#000000',
},
}SCSS
$custom: #8741b1; $custom-light: #ad7ac9; $custom-dark: #000000;
JSON
{
"hex": "#8741b1",
"rgb": {
"r": 135,
"g": 65,
"b": 177
},
"hsl": {
"h": 277.5,
"s": 46.281,
"l": 47.451
},
"oklch": {
"l": 0.51592,
"c": 0.17652,
"h": 310.4
},
"luminance": 0.12106
}Semantic roles & 50–950 ramp
primary
#8741B1
secondary
#A0C38A
accent
#D65283
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82