#8C41BF#8C41BF
#8C41BF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.1% C 0.193 H 308.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8C41BF |
|---|---|
| RGB | rgb(140, 65, 191) |
| HSL | hsl(276, 50%, 50%) |
| HSV | hsv(276, 66%, 75%) |
| CMYK | cmyk(26.7%, 66%, 0%, 25.1%) |
| CIE-LAB | lab(42.94, 53.44, -53.34) |
| CIE-LCH | lch(42.94, 75.51, 315.05°) |
| OKLab | oklab(53.14% 0.1203 -0.1508) |
| OKLCH | oklch(53.14% 0.193 308.6) |
| XYZ | xyz(22.1076, 13.1180, 50.6475) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.13
Purply
#983FB2
ΔE00 3.70
Blueviolet
#8A2BE2
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 6.08
Darkviolet
#9400D3
ΔE00 6.48
Barney
#AC1DB8
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C41BF #74BF41
analogous
#4D41BF #8C41BF #BF41B3
triadic
#8C41BF #BF8C41 #41BF8C
tetradic
#8C41BF #BF4D41 #74BF41 #41B3BF
square
#8C41BF #BF4D41 #74BF41 #41B3BF
split-complementary
#8C41BF #B3BF41 #41BF4D
monochromatic
#492264 #6B3192 #8C41BF #A86FCE #C39DDE
Accessibility & contrast
On white
5.80
#8C41BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#8C41BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C41BF
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C41BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C41BF | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2A66BC
Tritanopia (blue-blind)
#845B7A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8c41bf; /* rgb */ color: rgb(140, 65, 191); /* oklch */ color: oklch(53.1% 0.193 308.6);
Tailwind
colors: {
custom: {
50: '#b27bd3',
500: '#8c41bf',
950: '#000000',
},
}SCSS
$custom: #8c41bf; $custom-light: #b27bd3; $custom-dark: #000000;
JSON
{
"hex": "#8c41bf",
"rgb": {
"r": 140,
"g": 65,
"b": 191
},
"hsl": {
"h": 275.714,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.53143,
"c": 0.19291,
"h": 308.6
},
"luminance": 0.13118
}Semantic roles & 50–950 ramp
primary
#8C41BF
secondary
#A9CA92
accent
#D94F87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83