#754AB9#754AB9
#754AB9 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.168 H 298.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #754AB9 |
|---|---|
| RGB | rgb(117, 74, 185) |
| HSL | hsl(263, 44%, 51%) |
| HSV | hsv(263, 60%, 73%) |
| CMYK | cmyk(36.8%, 60%, 0%, 27.5%) |
| CIE-LAB | lab(41.50, 42.11, -52.29) |
| CIE-LCH | lch(41.50, 67.14, 308.85°) |
| OKLab | oklab(51.37% 0.0793 -0.1485) |
| OKLCH | oklch(51.37% 0.168 298.1) |
| XYZ | xyz(18.5397, 12.1820, 47.2641) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.77
Bluey Purple
#6241C7
ΔE00 4.79
Light Indigo
#6D5ACF
ΔE00 6.20
Iris
#6258C4
ΔE00 6.26
Slate Blue
#6A5ACD
ΔE00 6.30
Bluish Purple
#703BE7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754AB9 #8EB94A
analogous
#4A56B9 #754AB9 #AC4AB9
triadic
#754AB9 #B9754A #4AB975
tetradic
#754AB9 #B94A56 #8EB94A #4AB9AC
square
#754AB9 #B94A56 #8EB94A #4AB9AC
split-complementary
#754AB9 #B9AC4A #56B94A
monochromatic
#3D2663 #59378F #754AB9 #9776CA #B8A2DB
Accessibility & contrast
On white
6.11
#754AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#754AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754AB9
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754AB9 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#1F61B7
Tritanopia (blue-blind)
#65627A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #754ab9; /* rgb */ color: rgb(117, 74, 185); /* oklch */ color: oklch(51.4% 0.168 298.1);
Tailwind
colors: {
custom: {
50: '#a17ecf',
500: '#754ab9',
950: '#000000',
},
}SCSS
$custom: #754ab9; $custom-light: #a17ecf; $custom-dark: #000000;
JSON
{
"hex": "#754ab9",
"rgb": {
"r": 117,
"g": 74,
"b": 185
},
"hsl": {
"h": 263.243,
"s": 44.223,
"l": 50.784
},
"oklch": {
"l": 0.51366,
"c": 0.16835,
"h": 298.1
},
"luminance": 0.12182
}Semantic roles & 50–950 ramp
primary
#754AB9
secondary
#B5C897
accent
#D454A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82