#754EB5#754EB5
#754EB5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.157 H 298.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #754EB5 |
|---|---|
| RGB | rgb(117, 78, 181) |
| HSL | hsl(263, 41%, 51%) |
| HSV | hsv(263, 57%, 71%) |
| CMYK | cmyk(35.4%, 56.9%, 0%, 29%) |
| CIE-LAB | lab(42.10, 38.79, -48.98) |
| CIE-LCH | lch(42.10, 62.48, 308.38°) |
| OKLab | oklab(51.72% 0.0743 -0.1388) |
| OKLCH | oklch(51.72% 0.157 298.2) |
| XYZ | xyz(18.3989, 12.5667, 45.1634) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.68
Bluey Purple
#6241C7
ΔE00 5.78
Iris
#6258C4
ΔE00 5.94
Light Indigo
#6D5ACF
ΔE00 5.96
Slate Blue
#6A5ACD
ΔE00 6.04
Deep Lavender
#8D5EB7
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754EB5 #8EB54E
analogous
#4E5AB5 #754EB5 #A84EB5
triadic
#754EB5 #B5754E #4EB575
tetradic
#754EB5 #B54E5A #8EB54E #4EB5A8
square
#754EB5 #B54E5A #8EB54E #4EB5A8
split-complementary
#754EB5 #B5A84E #5AB54E
monochromatic
#3D2860 #593A8B #754EB5 #9779C7 #B8A4D9
Accessibility & contrast
On white
5.98
#754EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#754EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754EB5
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754EB5 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D64B8
Deuteranopia (green-blind)
#2C62B3
Tritanopia (blue-blind)
#67637A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #754eb5; /* rgb */ color: rgb(117, 78, 181); /* oklch */ color: oklch(51.7% 0.157 298.2);
Tailwind
colors: {
custom: {
50: '#a181cc',
500: '#754eb5',
950: '#000000',
},
}SCSS
$custom: #754eb5; $custom-light: #a181cc; $custom-dark: #000000;
JSON
{
"hex": "#754eb5",
"rgb": {
"r": 117,
"g": 78,
"b": 181
},
"hsl": {
"h": 262.718,
"s": 41.036,
"l": 50.784
},
"oklch": {
"l": 0.51722,
"c": 0.15745,
"h": 298.2
},
"luminance": 0.12567
}Semantic roles & 50–950 ramp
primary
#754EB5
secondary
#B5C699
accent
#D157A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82