#754BAE#754BAE
#754BAE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.153 H 300.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #754BAE |
|---|---|
| RGB | rgb(117, 75, 174) |
| HSL | hsl(265, 40%, 49%) |
| HSV | hsv(265, 57%, 68%) |
| CMYK | cmyk(32.8%, 56.9%, 0%, 31.8%) |
| CIE-LAB | lab(41.01, 38.67, -46.61) |
| CIE-LCH | lch(41.01, 60.56, 309.68°) |
| OKLab | oklab(50.78% 0.0781 -0.1318) |
| OKLCH | oklch(50.78% 0.153 300.6) |
| XYZ | xyz(17.4904, 11.8700, 41.4059) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.22
Bluey Purple
#6241C7
ΔE00 6.24
Rebeccapurple
#663399
ΔE00 7.07
Iris
#6258C4
ΔE00 7.16
Purply
#983FB2
ΔE00 7.30
Light Indigo
#6D5ACF
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754BAE #84AE4B
analogous
#4B53AE #754BAE #A74BAE
triadic
#754BAE #AE754B #4BAE75
tetradic
#754BAE #AE4B53 #84AE4B #4BAEA7
square
#754BAE #AE4B53 #84AE4B #4BAEA7
split-complementary
#754BAE #AEA74B #53AE4B
monochromatic
#3B2658 #583983 #754BAE #9573C3 #B69ED5
Accessibility & contrast
On white
6.22
#754BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#754BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754BAE
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754BAE | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2060B1
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#695F75
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #754bae; /* rgb */ color: rgb(117, 75, 174); /* oklch */ color: oklch(50.8% 0.153 300.6);
Tailwind
colors: {
custom: {
50: '#a07fc7',
500: '#754bae',
950: '#000000',
},
}SCSS
$custom: #754bae; $custom-light: #a07fc7; $custom-dark: #000000;
JSON
{
"hex": "#754bae",
"rgb": {
"r": 117,
"g": 75,
"b": 174
},
"hsl": {
"h": 265.455,
"s": 39.759,
"l": 48.824
},
"oklch": {
"l": 0.50776,
"c": 0.15322,
"h": 300.6
},
"luminance": 0.1187
}Semantic roles & 50–950 ramp
primary
#754BAE
secondary
#AEC293
accent
#D0589D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82