#8741BF#8741BF
#8741BF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.192 H 306.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8741BF |
|---|---|
| RGB | rgb(135, 65, 191) |
| HSL | hsl(273, 50%, 50%) |
| HSV | hsv(273, 66%, 75%) |
| CMYK | cmyk(29.3%, 66%, 0%, 25.1%) |
| CIE-LAB | lab(42.30, 52.35, -54.41) |
| CIE-LCH | lch(42.30, 75.50, 313.89°) |
| OKLab | oklab(52.54% 0.1137 -0.1541) |
| OKLCH | oklch(52.54% 0.192 306.4) |
| XYZ | xyz(21.2839, 12.6933, 50.6089) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.66
Purply
#983FB2
ΔE00 4.54
Blueviolet
#8A2BE2
ΔE00 5.46
Royal Purple
#7851A9
ΔE00 5.76
Darkviolet
#9400D3
ΔE00 6.44
Violet (survey)
#9A0EEA
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8741BF #79BF41
analogous
#4841BF #8741BF #BF41B8
triadic
#8741BF #BF8741 #41BF87
tetradic
#8741BF #BF4841 #79BF41 #41B8BF
square
#8741BF #BF4841 #79BF41 #41B8BF
split-complementary
#8741BF #B8BF41 #41BF48
monochromatic
#462264 #673192 #8741BF #A46FCE #C19DDE
Accessibility & contrast
On white
5.93
#8741BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#8741BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8741BF
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8741BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8741BF | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#7E5C7A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8741bf; /* rgb */ color: rgb(135, 65, 191); /* oklch */ color: oklch(52.5% 0.192 306.4);
Tailwind
colors: {
custom: {
50: '#ae7ad3',
500: '#8741bf',
950: '#000000',
},
}SCSS
$custom: #8741bf; $custom-light: #ae7ad3; $custom-dark: #000000;
JSON
{
"hex": "#8741bf",
"rgb": {
"r": 135,
"g": 65,
"b": 191
},
"hsl": {
"h": 273.333,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.52542,
"c": 0.19152,
"h": 306.4
},
"luminance": 0.12693
}Semantic roles & 50–950 ramp
primary
#8741BF
secondary
#ABCA92
accent
#D94F8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83