#754AA5#754AA5
#754AA5 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.144 H 303.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #754AA5 |
|---|---|
| RGB | rgb(117, 74, 165) |
| HSL | hsl(268, 38%, 47%) |
| HSV | hsv(268, 55%, 65%) |
| CMYK | cmyk(29.1%, 55.2%, 0%, 35.3%) |
| CIE-LAB | lab(40.24, 36.93, -42.50) |
| CIE-LCH | lch(40.24, 56.30, 310.99°) |
| OKLab | oklab(50.03% 0.0791 -0.1198) |
| OKLCH | oklch(50.03% 0.144 303.4) |
| XYZ | xyz(16.5749, 11.3961, 36.9165) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.09
Rebeccapurple
#663399
ΔE00 6.50
Purply
#983FB2
ΔE00 7.16
Bluey Purple
#6241C7
ΔE00 7.53
Deep Lavender
#8D5EB7
ΔE00 7.70
Iris
#6258C4
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754AA5 #7AA54A
analogous
#4A4DA5 #754AA5 #A34AA5
triadic
#754AA5 #A5754A #4AA575
tetradic
#754AA5 #A54A4D #7AA54A #4AA5A3
square
#754AA5 #A54A4D #7AA54A #4AA5A3
split-complementary
#754AA5 #A5A34A #4DA54A
monochromatic
#392450 #57377B #754AA5 #946EBE #B398D1
Accessibility & contrast
On white
6.40
#754AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#754AA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754AA5
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754AA5 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#375FA3
Tritanopia (blue-blind)
#6C5B70
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #754aa5; /* rgb */ color: rgb(117, 74, 165); /* oklch */ color: oklch(50.0% 0.144 303.4);
Tailwind
colors: {
custom: {
50: '#9f7ec0',
500: '#754aa5',
950: '#000000',
},
}SCSS
$custom: #754aa5; $custom-light: #9f7ec0; $custom-dark: #000000;
JSON
{
"hex": "#754aa5",
"rgb": {
"r": 117,
"g": 74,
"b": 165
},
"hsl": {
"h": 268.352,
"s": 38.075,
"l": 46.863
},
"oklch": {
"l": 0.50032,
"c": 0.14354,
"h": 303.4
},
"luminance": 0.11396
}Semantic roles & 50–950 ramp
primary
#754AA5
secondary
#A7BD8E
accent
#CE5A97
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81