#754AB8#754AB8
#754AB8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.167 H 298.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #754AB8 |
|---|---|
| RGB | rgb(117, 74, 184) |
| HSL | hsl(263, 44%, 51%) |
| HSV | hsv(263, 60%, 72%) |
| CMYK | cmyk(36.4%, 59.8%, 0%, 27.8%) |
| CIE-LAB | lab(41.44, 41.85, -51.81) |
| CIE-LCH | lch(41.44, 66.60, 308.93°) |
| OKLab | oklab(51.3% 0.0793 -0.1471) |
| OKLCH | oklch(51.3% 0.167 298.3) |
| XYZ | xyz(18.4345, 12.1399, 46.7101) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.64
Bluey Purple
#6241C7
ΔE00 4.89
Light Indigo
#6D5ACF
ΔE00 6.31
Iris
#6258C4
ΔE00 6.33
Slate Blue
#6A5ACD
ΔE00 6.40
Ocean Blue
#4F42B5
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754AB8 #8DB84A
analogous
#4A56B8 #754AB8 #AC4AB8
triadic
#754AB8 #B8754A #4AB875
tetradic
#754AB8 #B84A56 #8DB84A #4AB8AC
square
#754AB8 #B84A56 #8DB84A #4AB8AC
split-complementary
#754AB8 #B8AC4A #56B84A
monochromatic
#3D2661 #59378D #754AB8 #9776C9 #B8A2DA
Accessibility & contrast
On white
6.13
#754AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#754AB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754AB8
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754AB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754AB8 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0362BC
Deuteranopia (green-blind)
#2161B6
Tritanopia (blue-blind)
#66617A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #754ab8; /* rgb */ color: rgb(117, 74, 184); /* oklch */ color: oklch(51.3% 0.167 298.3);
Tailwind
colors: {
custom: {
50: '#a17ece',
500: '#754ab8',
950: '#000000',
},
}SCSS
$custom: #754ab8; $custom-light: #a17ece; $custom-dark: #000000;
JSON
{
"hex": "#754ab8",
"rgb": {
"r": 117,
"g": 74,
"b": 184
},
"hsl": {
"h": 263.455,
"s": 43.651,
"l": 50.588
},
"oklch": {
"l": 0.51296,
"c": 0.16712,
"h": 298.3
},
"luminance": 0.1214
}Semantic roles & 50–950 ramp
primary
#754AB8
secondary
#B4C796
accent
#D354A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82