#754AC6#754AC6
#754AC6 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.184 H 295.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #754AC6 |
|---|---|
| RGB | rgb(117, 74, 198) |
| HSL | hsl(261, 52%, 53%) |
| HSV | hsv(261, 63%, 78%) |
| CMYK | cmyk(40.9%, 62.6%, 0%, 22.4%) |
| CIE-LAB | lab(42.39, 45.58, -58.43) |
| CIE-LCH | lch(42.39, 74.11, 307.95°) |
| OKLab | oklab(52.3% 0.0786 -0.1666) |
| OKLCH | oklch(52.3% 0.184 295.2) |
| XYZ | xyz(19.9753, 12.7562, 54.8249) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 5.10
Bluish Purple
#703BE7
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.29
Royal Purple
#7851A9
ΔE00 5.54
Iris
#6258C4
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754AC6 #9BC64A
analogous
#4A5DC6 #754AC6 #B34AC6
triadic
#754AC6 #C6754A #4AC675
tetradic
#754AC6 #C64A5D #9BC64A #4AC6B3
square
#754AC6 #C64A5D #9BC64A #4AC6B3
split-complementary
#754AC6 #C6B34A #5DC64A
monochromatic
#3F2472 #5932A0 #754AC6 #9879D5 #BCA7E3
Accessibility & contrast
On white
5.91
#754AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#754AC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754AC6
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754AC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754AC6 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#606681
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #754ac6; /* rgb */ color: rgb(117, 74, 198); /* oklch */ color: oklch(52.3% 0.184 295.2);
Tailwind
colors: {
custom: {
50: '#a27fd8',
500: '#754ac6',
950: '#000000',
},
}SCSS
$custom: #754ac6; $custom-light: #a27fd8; $custom-dark: #000000;
JSON
{
"hex": "#754ac6",
"rgb": {
"r": 117,
"g": 74,
"b": 198
},
"hsl": {
"h": 260.806,
"s": 52.101,
"l": 53.333
},
"oklch": {
"l": 0.52296,
"c": 0.18418,
"h": 295.2
},
"luminance": 0.12757
}Semantic roles & 50–950 ramp
primary
#754AC6
secondary
#BED19B
accent
#DC4CAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83