#754AA6#754AA6
#754AA6 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.145 H 303.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #754AA6 |
|---|---|
| RGB | rgb(117, 74, 166) |
| HSL | hsl(268, 38%, 47%) |
| HSV | hsv(268, 55%, 65%) |
| CMYK | cmyk(29.5%, 55.4%, 0%, 34.9%) |
| CIE-LAB | lab(40.30, 37.19, -42.99) |
| CIE-LCH | lch(40.30, 56.84, 310.86°) |
| OKLab | oklab(50.1% 0.0791 -0.1212) |
| OKLCH | oklch(50.1% 0.145 303.1) |
| XYZ | xyz(16.6663, 11.4327, 37.3977) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.07
Rebeccapurple
#663399
ΔE00 6.51
Purply
#983FB2
ΔE00 7.15
Bluey Purple
#6241C7
ΔE00 7.36
Deep Lavender
#8D5EB7
ΔE00 7.67
Iris
#6258C4
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754AA6 #7BA64A
analogous
#4A4DA6 #754AA6 #A34AA6
triadic
#754AA6 #A6754A #4AA675
tetradic
#754AA6 #A64A4D #7BA64A #4AA6A3
square
#754AA6 #A64A4D #7BA64A #4AA6A3
split-complementary
#754AA6 #A6A34A #4DA64A
monochromatic
#392451 #57377C #754AA6 #946FBF #B399D1
Accessibility & contrast
On white
6.39
#754AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#754AA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754AA6
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754AA6 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285EA9
Deuteranopia (green-blind)
#365FA4
Tritanopia (blue-blind)
#6C5C71
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #754aa6; /* rgb */ color: rgb(117, 74, 166); /* oklch */ color: oklch(50.1% 0.145 303.1);
Tailwind
colors: {
custom: {
50: '#a07ec1',
500: '#754aa6',
950: '#000000',
},
}SCSS
$custom: #754aa6; $custom-light: #a07ec1; $custom-dark: #000000;
JSON
{
"hex": "#754aa6",
"rgb": {
"r": 117,
"g": 74,
"b": 166
},
"hsl": {
"h": 268.043,
"s": 38.333,
"l": 47.059
},
"oklch": {
"l": 0.50096,
"c": 0.14479,
"h": 303.1
},
"luminance": 0.11433
}Semantic roles & 50–950 ramp
primary
#754AA6
secondary
#A7BE8E
accent
#CE5A98
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81