#754BB4#754BB4
#754BB4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.161 H 299.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #754BB4 |
|---|---|
| RGB | rgb(117, 75, 180) |
| HSL | hsl(264, 41%, 50%) |
| HSV | hsv(264, 58%, 71%) |
| CMYK | cmyk(35%, 58.3%, 0%, 29.4%) |
| CIE-LAB | lab(41.39, 40.23, -49.54) |
| CIE-LCH | lch(41.39, 63.82, 309.08°) |
| OKLab | oklab(51.18% 0.0781 -0.1404) |
| OKLCH | oklch(51.18% 0.161 299.1) |
| XYZ | xyz(18.0884, 12.1092, 44.5555) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.95
Bluey Purple
#6241C7
ΔE00 5.46
Iris
#6258C4
ΔE00 6.51
Light Indigo
#6D5ACF
ΔE00 6.60
Slate Blue
#6A5ACD
ΔE00 6.67
Ocean Blue
#4F42B5
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754BB4 #8AB44B
analogous
#4B56B4 #754BB4 #A94BB4
triadic
#754BB4 #B4754B #4BB475
tetradic
#754BB4 #B44B56 #8AB44B #4BB4A9
square
#754BB4 #B44B56 #8AB44B #4BB4A9
split-complementary
#754BB4 #B4A94B #56B44B
monochromatic
#3D275E #593989 #754BB4 #9676C6 #B7A1D8
Accessibility & contrast
On white
6.14
#754BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#754BB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754BB4
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754BB4 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1562B7
Deuteranopia (green-blind)
#2961B2
Tritanopia (blue-blind)
#676178
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #754bb4; /* rgb */ color: rgb(117, 75, 180); /* oklch */ color: oklch(51.2% 0.161 299.1);
Tailwind
colors: {
custom: {
50: '#a17fcb',
500: '#754bb4',
950: '#000000',
},
}SCSS
$custom: #754bb4; $custom-light: #a17fcb; $custom-dark: #000000;
JSON
{
"hex": "#754bb4",
"rgb": {
"r": 117,
"g": 75,
"b": 180
},
"hsl": {
"h": 264,
"s": 41.176,
"l": 50
},
"oklch": {
"l": 0.51177,
"c": 0.1607,
"h": 299.1
},
"luminance": 0.12109
}Semantic roles & 50–950 ramp
primary
#754BB4
secondary
#B2C596
accent
#D157A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82