#754AB1#754AB1
#754AB1 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.158 H 300.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #754AB1 |
|---|---|
| RGB | rgb(117, 74, 177) |
| HSL | hsl(265, 41%, 49%) |
| HSV | hsv(265, 58%, 69%) |
| CMYK | cmyk(33.9%, 58.2%, 0%, 30.6%) |
| CIE-LAB | lab(40.98, 40.01, -48.42) |
| CIE-LCH | lch(40.98, 62.82, 309.57°) |
| OKLab | oklab(50.82% 0.0794 -0.1372) |
| OKLCH | oklch(50.82% 0.158 300.1) |
| XYZ | xyz(17.7188, 11.8537, 42.9409) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.76
Bluey Purple
#6241C7
ΔE00 5.72
Iris
#6258C4
ΔE00 6.98
Rebeccapurple
#663399
ΔE00 7.04
Light Indigo
#6D5ACF
ΔE00 7.15
Slate Blue
#6A5ACD
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754AB1 #86B14A
analogous
#4A52B1 #754AB1 #A94AB1
triadic
#754AB1 #B1754A #4AB175
tetradic
#754AB1 #B14A52 #86B14A #4AB1A9
square
#754AB1 #B14A52 #86B14A #4AB1A9
split-complementary
#754AB1 #B1A94A #52B14A
monochromatic
#3C265B #583886 #754AB1 #9574C5 #B69FD7
Accessibility & contrast
On white
6.23
#754AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#754AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754AB1
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754AB1 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1860B4
Deuteranopia (green-blind)
#2B60AF
Tritanopia (blue-blind)
#685F76
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #754ab1; /* rgb */ color: rgb(117, 74, 177); /* oklch */ color: oklch(50.8% 0.158 300.1);
Tailwind
colors: {
custom: {
50: '#a07ec9',
500: '#754ab1',
950: '#000000',
},
}SCSS
$custom: #754ab1; $custom-light: #a07ec9; $custom-dark: #000000;
JSON
{
"hex": "#754ab1",
"rgb": {
"r": 117,
"g": 74,
"b": 177
},
"hsl": {
"h": 265.049,
"s": 41.036,
"l": 49.216
},
"oklch": {
"l": 0.50817,
"c": 0.15848,
"h": 300.1
},
"luminance": 0.11854
}Semantic roles & 50–950 ramp
primary
#754AB1
secondary
#AFC393
accent
#D1579E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82