#754AC1#754AC1
#754AC1 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.178 H 296.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #754AC1 |
|---|---|
| RGB | rgb(117, 74, 193) |
| HSL | hsl(262, 49%, 52%) |
| HSV | hsv(262, 62%, 76%) |
| CMYK | cmyk(39.4%, 61.7%, 0%, 24.3%) |
| CIE-LAB | lab(42.05, 44.24, -56.09) |
| CIE-LCH | lch(42.05, 71.43, 308.26°) |
| OKLab | oklab(51.93% 0.0789 -0.1597) |
| OKLCH | oklch(51.93% 0.178 296.3) |
| XYZ | xyz(19.4080, 12.5294, 51.8376) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.19
Royal Purple
#7851A9
ΔE00 4.86
Light Indigo
#6D5ACF
ΔE00 5.45
Slate Blue
#6A5ACD
ΔE00 5.61
Iris
#6258C4
ΔE00 5.78
Bluish Purple
#703BE7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754AC1 #96C14A
analogous
#4A5AC1 #754AC1 #B14AC1
triadic
#754AC1 #C1754A #4AC175
tetradic
#754AC1 #C14A5A #96C14A #4AC1B1
square
#754AC1 #C14A5A #96C14A #4AC1B1
split-complementary
#754AC1 #C1B14A #5AC14A
monochromatic
#3E256C #593599 #754AC1 #9878D1 #BBA5E0
Accessibility & contrast
On white
5.99
#754AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#754AC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754AC1
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754AC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754AC1 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0962BE
Tritanopia (blue-blind)
#62647E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #754ac1; /* rgb */ color: rgb(117, 74, 193); /* oklch */ color: oklch(51.9% 0.178 296.3);
Tailwind
colors: {
custom: {
50: '#a27fd4',
500: '#754ac1',
950: '#000000',
},
}SCSS
$custom: #754ac1; $custom-light: #a27fd4; $custom-dark: #000000;
JSON
{
"hex": "#754ac1",
"rgb": {
"r": 117,
"g": 74,
"b": 193
},
"hsl": {
"h": 261.681,
"s": 48.971,
"l": 52.353
},
"oklch": {
"l": 0.51933,
"c": 0.17812,
"h": 296.3
},
"luminance": 0.1253
}Semantic roles & 50–950 ramp
primary
#754AC1
secondary
#BBCD99
accent
#D94FA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83