#754EAA#754EAA
#754EAA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.143 H 301.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #754EAA |
|---|---|
| RGB | rgb(117, 78, 170) |
| HSL | hsl(265, 37%, 49%) |
| HSV | hsv(265, 54%, 67%) |
| CMYK | cmyk(31.2%, 54.1%, 0%, 33.3%) |
| CIE-LAB | lab(41.43, 35.91, -43.57) |
| CIE-LCH | lch(41.43, 56.46, 309.50°) |
| OKLab | oklab(51.01% 0.074 -0.1229) |
| OKLCH | oklch(51.01% 0.143 301) |
| XYZ | xyz(17.3145, 12.1329, 39.4521) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.16
Deep Lavender
#8D5EB7
ΔE00 6.85
Bluey Purple
#6241C7
ΔE00 7.22
Iris
#6258C4
ΔE00 7.28
Purply
#983FB2
ΔE00 7.57
Light Indigo
#6D5ACF
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754EAA #83AA4E
analogous
#4E55AA #754EAA #A34EAA
triadic
#754EAA #AA754E #4EAA75
tetradic
#754EAA #AA4E55 #83AA4E #4EAAA3
square
#754EAA #AA4E55 #83AA4E #4EAAA3
split-complementary
#754EAA #AAA34E #55AA4E
monochromatic
#3B2856 #583B80 #754EAA #9575C0 #B59FD3
Accessibility & contrast
On white
6.13
#754EAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#754EAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754EAA
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754EAA | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C61AD
Deuteranopia (green-blind)
#3861A8
Tritanopia (blue-blind)
#6B6074
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #754eaa; /* rgb */ color: rgb(117, 78, 170); /* oklch */ color: oklch(51.0% 0.143 301.0);
Tailwind
colors: {
custom: {
50: '#a081c4',
500: '#754eaa',
950: '#000000',
},
}SCSS
$custom: #754eaa; $custom-light: #a081c4; $custom-dark: #000000;
JSON
{
"hex": "#754eaa",
"rgb": {
"r": 117,
"g": 78,
"b": 170
},
"hsl": {
"h": 265.435,
"s": 37.097,
"l": 48.627
},
"oklch": {
"l": 0.51005,
"c": 0.14348,
"h": 301
},
"luminance": 0.12133
}Semantic roles & 50–950 ramp
primary
#754EAA
secondary
#ADC094
accent
#CD5B9D
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A13
muted
#7F7C82