#8741B3#8741B3
#8741B3 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.179 H 309.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8741B3 |
|---|---|
| RGB | rgb(135, 65, 179) |
| HSL | hsl(277, 47%, 48%) |
| HSV | hsv(277, 64%, 70%) |
| CMYK | cmyk(24.6%, 63.7%, 0%, 29.8%) |
| CIE-LAB | lab(41.51, 49.59, -48.64) |
| CIE-LCH | lch(41.51, 69.46, 315.56°) |
| OKLab | oklab(51.72% 0.1144 -0.1372) |
| OKLCH | oklch(51.72% 0.179 309.8) |
| XYZ | xyz(20.0171, 12.1866, 43.9368) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.49
Darkorchid
#9932CC
ΔE00 4.62
Royal Purple
#7851A9
ΔE00 5.13
Medium Purple
#9E43A2
ΔE00 6.79
Barney
#AC1DB8
ΔE00 7.12
Blueviolet
#8A2BE2
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8741B3 #6DB341
analogous
#4E41B3 #8741B3 #B341A6
triadic
#8741B3 #B38741 #41B387
tetradic
#8741B3 #B34E41 #6DB341 #41A6B3
square
#8741B3 #B34E41 #6DB341 #41A6B3
split-complementary
#8741B3 #A6B341 #41B34E
monochromatic
#432059 #653186 #8741B3 #A469C8 #BF96D9
Accessibility & contrast
On white
6.11
#8741B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#8741B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8741B3
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8741B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8741B3 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#015FB7
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#815874
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8741b3; /* rgb */ color: rgb(135, 65, 179); /* oklch */ color: oklch(51.7% 0.179 309.8);
Tailwind
colors: {
custom: {
50: '#ad7aca',
500: '#8741b3',
950: '#000000',
},
}SCSS
$custom: #8741b3; $custom-light: #ad7aca; $custom-dark: #000000;
JSON
{
"hex": "#8741b3",
"rgb": {
"r": 135,
"g": 65,
"b": 179
},
"hsl": {
"h": 276.842,
"s": 46.721,
"l": 47.843
},
"oklch": {
"l": 0.51724,
"c": 0.17866,
"h": 309.8
},
"luminance": 0.12186
}Semantic roles & 50–950 ramp
primary
#8741B3
secondary
#A1C48B
accent
#D65185
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82