#754AC3#754AC3
#754AC3 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.181 H 295.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #754AC3 |
|---|---|
| RGB | rgb(117, 74, 195) |
| HSL | hsl(261, 50%, 53%) |
| HSV | hsv(261, 62%, 76%) |
| CMYK | cmyk(40%, 62.1%, 0%, 23.5%) |
| CIE-LAB | lab(42.18, 44.77, -57.03) |
| CIE-LCH | lch(42.18, 72.50, 308.13°) |
| OKLab | oklab(52.08% 0.0788 -0.1625) |
| OKLCH | oklch(52.08% 0.181 295.9) |
| XYZ | xyz(19.6327, 12.6192, 53.0206) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.09
Royal Purple
#7851A9
ΔE00 5.13
Light Indigo
#6D5ACF
ΔE00 5.30
Slate Blue
#6A5ACD
ΔE00 5.47
Bluish Purple
#703BE7
ΔE00 5.58
Iris
#6258C4
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754AC3 #98C34A
analogous
#4A5CC3 #754AC3 #B14AC3
triadic
#754AC3 #C3754A #4AC375
tetradic
#754AC3 #C34A5C #98C34A #4AC3B1
square
#754AC3 #C34A5C #98C34A #4AC3B1
split-complementary
#754AC3 #C3B14A #5CC34A
monochromatic
#3F246E #59349C #754AC3 #9878D2 #BBA6E1
Accessibility & contrast
On white
5.96
#754AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#754AC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754AC3
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754AC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754AC3 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0062C0
Tritanopia (blue-blind)
#61657F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #754ac3; /* rgb */ color: rgb(117, 74, 195); /* oklch */ color: oklch(52.1% 0.181 295.9);
Tailwind
colors: {
custom: {
50: '#a27fd6',
500: '#754ac3',
950: '#000000',
},
}SCSS
$custom: #754ac3; $custom-light: #a27fd6; $custom-dark: #000000;
JSON
{
"hex": "#754ac3",
"rgb": {
"r": 117,
"g": 74,
"b": 195
},
"hsl": {
"h": 261.322,
"s": 50.207,
"l": 52.745
},
"oklch": {
"l": 0.52077,
"c": 0.18056,
"h": 295.9
},
"luminance": 0.1262
}Semantic roles & 50–950 ramp
primary
#754AC3
secondary
#BCCF9A
accent
#DA4EA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83