#754CA9#754CA9
#754CA9 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.145 H 301.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #754CA9 |
|---|---|
| RGB | rgb(117, 76, 169) |
| HSL | hsl(266, 38%, 48%) |
| HSV | hsv(266, 55%, 66%) |
| CMYK | cmyk(30.8%, 55%, 0%, 33.7%) |
| CIE-LAB | lab(40.92, 36.81, -43.79) |
| CIE-LCH | lch(40.92, 57.20, 310.05°) |
| OKLab | oklab(50.61% 0.0766 -0.1236) |
| OKLCH | oklch(50.61% 0.145 301.8) |
| XYZ | xyz(17.0803, 11.8153, 38.9092) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.58
Rebeccapurple
#663399
ΔE00 7.08
Bluey Purple
#6241C7
ΔE00 7.10
Deep Lavender
#8D5EB7
ΔE00 7.23
Purply
#983FB2
ΔE00 7.33
Iris
#6258C4
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754CA9 #80A94C
analogous
#4C51A9 #754CA9 #A34CA9
triadic
#754CA9 #A9754C #4CA975
tetradic
#754CA9 #A94C51 #80A94C #4CA9A3
square
#754CA9 #A94C51 #80A94C #4CA9A3
split-complementary
#754CA9 #A9A34C #51A94C
monochromatic
#3B2655 #58397F #754CA9 #9572C0 #B49DD3
Accessibility & contrast
On white
6.24
#754CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#754CA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754CA9
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754CA9 | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2960AC
Deuteranopia (green-blind)
#3660A7
Tritanopia (blue-blind)
#6B5E73
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #754ca9; /* rgb */ color: rgb(117, 76, 169); /* oklch */ color: oklch(50.6% 0.145 301.8);
Tailwind
colors: {
custom: {
50: '#a07fc3',
500: '#754ca9',
950: '#000000',
},
}SCSS
$custom: #754ca9; $custom-light: #a07fc3; $custom-dark: #000000;
JSON
{
"hex": "#754ca9",
"rgb": {
"r": 117,
"g": 76,
"b": 169
},
"hsl": {
"h": 266.452,
"s": 37.959,
"l": 48.039
},
"oklch": {
"l": 0.50612,
"c": 0.14538,
"h": 301.8
},
"luminance": 0.11815
}Semantic roles & 50–950 ramp
primary
#754CA9
secondary
#ABBF91
accent
#CE5A9B
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A12
muted
#7F7C81