#7541BF#7541BF
#7541BF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.188 H 298.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7541BF |
|---|---|
| RGB | rgb(117, 65, 191) |
| HSL | hsl(265, 50%, 50%) |
| HSV | hsv(265, 66%, 75%) |
| CMYK | cmyk(38.7%, 66%, 0%, 25.1%) |
| CIE-LAB | lab(40.12, 48.53, -58.04) |
| CIE-LCH | lch(40.12, 75.66, 309.90°) |
| OKLab | oklab(50.5% 0.0892 -0.1654) |
| OKLCH | oklch(50.5% 0.188 298.3) |
| XYZ | xyz(18.6280, 11.3238, 50.4844) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.67
Bluish Purple
#703BE7
ΔE00 5.51
Burple
#6832E3
ΔE00 5.79
Royal Purple
#7851A9
ΔE00 5.87
Blueviolet
#8A2BE2
ΔE00 5.87
Blurple
#5539CC
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7541BF #8BBF41
analogous
#414CBF #7541BF #B441BF
triadic
#7541BF #BF7541 #41BF75
tetradic
#7541BF #BF414C #8BBF41 #41BFB4
square
#7541BF #BF414C #8BBF41 #41BFB4
split-complementary
#7541BF #BFB441 #4CBF41
monochromatic
#3D2264 #593192 #7541BF #966FCE #B89DDE
Accessibility & contrast
On white
6.43
#7541BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#7541BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7541BF
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7541BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7541BF | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#645E7A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7541bf; /* rgb */ color: rgb(117, 65, 191); /* oklch */ color: oklch(50.5% 0.188 298.3);
Tailwind
colors: {
custom: {
50: '#a279d3',
500: '#7541bf',
950: '#000000',
},
}SCSS
$custom: #7541bf; $custom-light: #a279d3; $custom-dark: #000000;
JSON
{
"hex": "#7541bf",
"rgb": {
"r": 117,
"g": 65,
"b": 191
},
"hsl": {
"h": 264.762,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.50495,
"c": 0.18792,
"h": 298.3
},
"luminance": 0.11324
}Semantic roles & 50–950 ramp
primary
#7541BF
secondary
#B3CA92
accent
#D94FA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83