#754CA5#754CA5
#754CA5 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.140 H 303.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #754CA5 |
|---|---|
| RGB | rgb(117, 76, 165) |
| HSL | hsl(268, 37%, 47%) |
| HSV | hsv(268, 54%, 65%) |
| CMYK | cmyk(29.1%, 53.9%, 0%, 35.3%) |
| CIE-LAB | lab(40.68, 35.78, -41.79) |
| CIE-LCH | lch(40.68, 55.02, 310.57°) |
| OKLab | oklab(50.36% 0.0764 -0.1177) |
| OKLCH | oklch(50.36% 0.14 303) |
| XYZ | xyz(16.7106, 11.6674, 36.9617) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.58
Rebeccapurple
#663399
ΔE00 7.00
Deep Lavender
#8D5EB7
ΔE00 7.32
Purply
#983FB2
ΔE00 7.35
Bluey Purple
#6241C7
ΔE00 7.75
Iris
#6258C4
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754CA5 #7CA54C
analogous
#4C50A5 #754CA5 #A14CA5
triadic
#754CA5 #A5754C #4CA575
tetradic
#754CA5 #A54C50 #7CA54C #4CA5A1
square
#754CA5 #A54C50 #7CA54C #4CA5A1
split-complementary
#754CA5 #A5A14C #50A54C
monochromatic
#3A2551 #57397B #754CA5 #9471BD #B49BD1
Accessibility & contrast
On white
6.30
#754CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#754CA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754CA5
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754CA5 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5FA8
Deuteranopia (green-blind)
#3A60A3
Tritanopia (blue-blind)
#6C5D71
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #754ca5; /* rgb */ color: rgb(117, 76, 165); /* oklch */ color: oklch(50.4% 0.140 303.0);
Tailwind
colors: {
custom: {
50: '#9f7fc0',
500: '#754ca5',
950: '#000000',
},
}SCSS
$custom: #754ca5; $custom-light: #9f7fc0; $custom-dark: #000000;
JSON
{
"hex": "#754ca5",
"rgb": {
"r": 117,
"g": 76,
"b": 165
},
"hsl": {
"h": 267.64,
"s": 36.929,
"l": 47.255
},
"oklch": {
"l": 0.50359,
"c": 0.14033,
"h": 303
},
"luminance": 0.11667
}Semantic roles & 50–950 ramp
primary
#754CA5
secondary
#A8BD8F
accent
#CD5B98
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81