#8741C1#8741C1
#8741C1 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.194 H 305.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8741C1 |
|---|---|
| RGB | rgb(135, 65, 193) |
| HSL | hsl(273, 51%, 51%) |
| HSV | hsv(273, 66%, 76%) |
| CMYK | cmyk(30.1%, 66.3%, 0%, 24.3%) |
| CIE-LAB | lab(42.43, 52.81, -55.36) |
| CIE-LCH | lch(42.43, 76.51, 313.65°) |
| OKLab | oklab(52.68% 0.1135 -0.1569) |
| OKLCH | oklch(52.68% 0.194 305.9) |
| XYZ | xyz(21.5055, 12.7819, 51.7760) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.59
Purply
#983FB2
ΔE00 4.75
Blueviolet
#8A2BE2
ΔE00 5.20
Royal Purple
#7851A9
ΔE00 5.91
Darkviolet
#9400D3
ΔE00 6.36
Violet (survey)
#9A0EEA
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8741C1 #7BC141
analogous
#4741C1 #8741C1 #C141BB
triadic
#8741C1 #C18741 #41C187
tetradic
#8741C1 #C14741 #7BC141 #41BBC1
square
#8741C1 #C14741 #7BC141 #41BBC1
split-complementary
#8741C1 #BBC141 #41C147
monochromatic
#472166 #673094 #8741C1 #A46FD0 #C19DDF
Accessibility & contrast
On white
5.90
#8741C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#8741C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8741C1
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8741C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8741C1 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#1E64BE
Tritanopia (blue-blind)
#7D5D7B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8741c1; /* rgb */ color: rgb(135, 65, 193); /* oklch */ color: oklch(52.7% 0.194 305.9);
Tailwind
colors: {
custom: {
50: '#ae7ad4',
500: '#8741c1',
950: '#000000',
},
}SCSS
$custom: #8741c1; $custom-light: #ae7ad4; $custom-dark: #000000;
JSON
{
"hex": "#8741c1",
"rgb": {
"r": 135,
"g": 65,
"b": 193
},
"hsl": {
"h": 272.813,
"s": 50.794,
"l": 50.588
},
"oklch": {
"l": 0.52683,
"c": 0.19366,
"h": 305.9
},
"luminance": 0.12782
}Semantic roles & 50–950 ramp
primary
#8741C1
secondary
#ACCB92
accent
#DA4E8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83