#754CAE#754CAE
#754CAE is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.152 H 300.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #754CAE |
|---|---|
| RGB | rgb(117, 76, 174) |
| HSL | hsl(265, 39%, 49%) |
| HSV | hsv(265, 56%, 68%) |
| CMYK | cmyk(32.8%, 56.3%, 0%, 31.8%) |
| CIE-LAB | lab(41.23, 38.10, -46.26) |
| CIE-LCH | lch(41.23, 59.93, 309.48°) |
| OKLab | oklab(50.94% 0.0768 -0.1308) |
| OKLCH | oklch(50.94% 0.152 300.4) |
| XYZ | xyz(17.5587, 12.0067, 41.4287) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.00
Bluey Purple
#6241C7
ΔE00 6.36
Iris
#6258C4
ΔE00 7.01
Deep Lavender
#8D5EB7
ΔE00 7.21
Light Indigo
#6D5ACF
ΔE00 7.24
Slate Blue
#6A5ACD
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754CAE #85AE4C
analogous
#4C54AE #754CAE #A64CAE
triadic
#754CAE #AE754C #4CAE75
tetradic
#754CAE #AE4C54 #85AE4C #4CAEA6
square
#754CAE #AE4C54 #85AE4C #4CAEA6
split-complementary
#754CAE #AEA64C #54AE4C
monochromatic
#3C2759 #583983 #754CAE #9575C3 #B69FD5
Accessibility & contrast
On white
6.17
#754CAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#754CAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754CAE
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754CAE | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#3161AC
Tritanopia (blue-blind)
#696075
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #754cae; /* rgb */ color: rgb(117, 76, 174); /* oklch */ color: oklch(50.9% 0.152 300.4);
Tailwind
colors: {
custom: {
50: '#a07fc7',
500: '#754cae',
950: '#000000',
},
}SCSS
$custom: #754cae; $custom-light: #a07fc7; $custom-dark: #000000;
JSON
{
"hex": "#754cae",
"rgb": {
"r": 117,
"g": 76,
"b": 174
},
"hsl": {
"h": 265.102,
"s": 39.2,
"l": 49.02
},
"oklch": {
"l": 0.50936,
"c": 0.15168,
"h": 300.4
},
"luminance": 0.12007
}Semantic roles & 50–950 ramp
primary
#754CAE
secondary
#AFC294
accent
#CF599E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82