#7541C8#7541C8
#7541C8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.198 H 296.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7541C8 |
|---|---|
| RGB | rgb(117, 65, 200) |
| HSL | hsl(263, 55%, 52%) |
| HSV | hsv(263, 68%, 78%) |
| CMYK | cmyk(41.5%, 67.5%, 0%, 21.6%) |
| CIE-LAB | lab(40.79, 50.87, -62.20) |
| CIE-LCH | lch(40.79, 80.35, 309.28°) |
| OKLab | oklab(51.18% 0.088 -0.1776) |
| OKLCH | oklch(51.18% 0.198 296.4) |
| XYZ | xyz(19.6490, 11.7322, 55.8617) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.24
Bluish Purple
#703BE7
ΔE00 4.21
Burple
#6832E3
ΔE00 4.76
Blueviolet
#8A2BE2
ΔE00 5.07
Blurple
#5539CC
ΔE00 5.46
Purpley Blue
#5F34E7
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7541C8 #94C841
analogous
#4151C8 #7541C8 #B941C8
triadic
#7541C8 #C87541 #41C875
tetradic
#7541C8 #C84151 #94C841 #41C8B9
square
#7541C8 #C84151 #94C841 #41C8B9
split-complementary
#7541C8 #C8B941 #51C841
monochromatic
#3E206F #592E9E #7541C8 #9770D6 #BAA0E3
Accessibility & contrast
On white
6.28
#7541C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#7541C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7541C8
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7541C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7541C8 | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#60617F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7541c8; /* rgb */ color: rgb(117, 65, 200); /* oklch */ color: oklch(51.2% 0.198 296.4);
Tailwind
colors: {
custom: {
50: '#a379da',
500: '#7541c8',
950: '#000000',
},
}SCSS
$custom: #7541c8; $custom-light: #a379da; $custom-dark: #000000;
JSON
{
"hex": "#7541c8",
"rgb": {
"r": 117,
"g": 65,
"b": 200
},
"hsl": {
"h": 263.111,
"s": 55.102,
"l": 51.961
},
"oklch": {
"l": 0.51184,
"c": 0.19826,
"h": 296.4
},
"luminance": 0.11733
}Semantic roles & 50–950 ramp
primary
#7541C8
secondary
#B9D095
accent
#DE49A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83