#754AAF#754AAF
#754AAF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.7% C 0.156 H 300.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #754AAF |
|---|---|
| RGB | rgb(117, 74, 175) |
| HSL | hsl(266, 41%, 49%) |
| HSV | hsv(266, 58%, 69%) |
| CMYK | cmyk(33.1%, 57.7%, 0%, 31.4%) |
| CIE-LAB | lab(40.86, 39.49, -47.44) |
| CIE-LCH | lch(40.86, 61.73, 309.78°) |
| OKLab | oklab(50.68% 0.0794 -0.1343) |
| OKLCH | oklch(50.68% 0.156 300.6) |
| XYZ | xyz(17.5209, 11.7745, 41.8988) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.54
Bluey Purple
#6241C7
ΔE00 5.99
Rebeccapurple
#663399
ΔE00 6.90
Iris
#6258C4
ΔE00 7.20
Purply
#983FB2
ΔE00 7.24
Light Indigo
#6D5ACF
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754AAF #84AF4A
analogous
#4A52AF #754AAF #A84AAF
triadic
#754AAF #AF754A #4AAF75
tetradic
#754AAF #AF4A52 #84AF4A #4AAFA8
square
#754AAF #AF4A52 #84AF4A #4AAFA8
split-complementary
#754AAF #AFA84A #52AF4A
monochromatic
#3B2659 #583884 #754AAF #9573C4 #B69ED6
Accessibility & contrast
On white
6.26
#754AAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#754AAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754AAF
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754AAF | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#695E75
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #754aaf; /* rgb */ color: rgb(117, 74, 175); /* oklch */ color: oklch(50.7% 0.156 300.6);
Tailwind
colors: {
custom: {
50: '#a07ec7',
500: '#754aaf',
950: '#000000',
},
}SCSS
$custom: #754aaf; $custom-light: #a07ec7; $custom-dark: #000000;
JSON
{
"hex": "#754aaf",
"rgb": {
"r": 117,
"g": 74,
"b": 175
},
"hsl": {
"h": 265.545,
"s": 40.562,
"l": 48.824
},
"oklch": {
"l": 0.50683,
"c": 0.156,
"h": 300.6
},
"luminance": 0.11775
}Semantic roles & 50–950 ramp
primary
#754AAF
secondary
#AEC292
accent
#D0579D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82