#754AC5#754AC5
#754AC5 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.183 H 295.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #754AC5 |
|---|---|
| RGB | rgb(117, 74, 197) |
| HSL | hsl(261, 51%, 53%) |
| HSV | hsv(261, 62%, 77%) |
| CMYK | cmyk(40.6%, 62.4%, 0%, 22.7%) |
| CIE-LAB | lab(42.32, 45.31, -57.97) |
| CIE-LCH | lch(42.32, 73.57, 308.01°) |
| OKLab | oklab(52.22% 0.0786 -0.1652) |
| OKLCH | oklch(52.22% 0.183 295.5) |
| XYZ | xyz(19.8603, 12.7103, 54.2194) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 5.16
Bluish Purple
#703BE7
ΔE00 5.33
Slate Blue
#6A5ACD
ΔE00 5.34
Royal Purple
#7851A9
ΔE00 5.41
Iris
#6258C4
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754AC5 #9AC54A
analogous
#4A5CC5 #754AC5 #B34AC5
triadic
#754AC5 #C5754A #4AC575
tetradic
#754AC5 #C54A5C #9AC54A #4AC5B3
square
#754AC5 #C54A5C #9AC54A #4AC5B3
split-complementary
#754AC5 #C5B34A #5CC54A
monochromatic
#3F2471 #59339F #754AC5 #9878D4 #BCA7E3
Accessibility & contrast
On white
5.93
#754AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#754AC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754AC5
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754AC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754AC5 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#616681
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #754ac5; /* rgb */ color: rgb(117, 74, 197); /* oklch */ color: oklch(52.2% 0.183 295.5);
Tailwind
colors: {
custom: {
50: '#a27fd7',
500: '#754ac5',
950: '#000000',
},
}SCSS
$custom: #754ac5; $custom-light: #a27fd7; $custom-dark: #000000;
JSON
{
"hex": "#754ac5",
"rgb": {
"r": 117,
"g": 74,
"b": 197
},
"hsl": {
"h": 260.976,
"s": 51.464,
"l": 53.137
},
"oklch": {
"l": 0.52223,
"c": 0.18298,
"h": 295.5
},
"luminance": 0.12711
}Semantic roles & 50–950 ramp
primary
#754AC5
secondary
#BDD09B
accent
#DB4DA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83