#754CA6#754CA6
#754CA6 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.142 H 302.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #754CA6 |
|---|---|
| RGB | rgb(117, 76, 166) |
| HSL | hsl(267, 37%, 47%) |
| HSV | hsv(267, 54%, 65%) |
| CMYK | cmyk(29.5%, 54.2%, 0%, 34.9%) |
| CIE-LAB | lab(40.74, 36.04, -42.29) |
| CIE-LCH | lch(40.74, 55.56, 310.44°) |
| OKLab | oklab(50.42% 0.0764 -0.1192) |
| OKLCH | oklch(50.42% 0.142 302.7) |
| XYZ | xyz(16.8019, 11.7040, 37.4429) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.55
Rebeccapurple
#663399
ΔE00 7.02
Deep Lavender
#8D5EB7
ΔE00 7.29
Purply
#983FB2
ΔE00 7.34
Bluey Purple
#6241C7
ΔE00 7.58
Iris
#6258C4
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754CA6 #7DA64C
analogous
#4C50A6 #754CA6 #A24CA6
triadic
#754CA6 #A6754C #4CA675
tetradic
#754CA6 #A64C50 #7DA64C #4CA6A2
square
#754CA6 #A64C50 #7DA64C #4CA6A2
split-complementary
#754CA6 #A6A24C #50A64C
monochromatic
#3A2652 #57397C #754CA6 #9471BE #B49BD1
Accessibility & contrast
On white
6.29
#754CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#754CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754CA6
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754CA6 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5FA9
Deuteranopia (green-blind)
#3960A4
Tritanopia (blue-blind)
#6C5D71
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #754ca6; /* rgb */ color: rgb(117, 76, 166); /* oklch */ color: oklch(50.4% 0.142 302.7);
Tailwind
colors: {
custom: {
50: '#9f7fc1',
500: '#754ca6',
950: '#000000',
},
}SCSS
$custom: #754ca6; $custom-light: #9f7fc1; $custom-dark: #000000;
JSON
{
"hex": "#754ca6",
"rgb": {
"r": 117,
"g": 76,
"b": 166
},
"hsl": {
"h": 267.333,
"s": 37.19,
"l": 47.451
},
"oklch": {
"l": 0.50422,
"c": 0.14159,
"h": 302.7
},
"luminance": 0.11704
}Semantic roles & 50–950 ramp
primary
#754CA6
secondary
#A9BE90
accent
#CD5B99
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81