#754AB2#754AB2
#754AB2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.160 H 299.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #754AB2 |
|---|---|
| RGB | rgb(117, 74, 178) |
| HSL | hsl(265, 41%, 49%) |
| HSV | hsv(265, 58%, 70%) |
| CMYK | cmyk(34.3%, 58.4%, 0%, 30.2%) |
| CIE-LAB | lab(41.05, 40.27, -48.91) |
| CIE-LCH | lch(41.05, 63.36, 309.47°) |
| OKLab | oklab(50.89% 0.0794 -0.1386) |
| OKLCH | oklch(50.89% 0.16 299.8) |
| XYZ | xyz(17.8188, 11.8937, 43.4678) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.87
Bluey Purple
#6241C7
ΔE00 5.59
Iris
#6258C4
ΔE00 6.88
Light Indigo
#6D5ACF
ΔE00 7.02
Slate Blue
#6A5ACD
ΔE00 7.08
Rebeccapurple
#663399
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754AB2 #87B24A
analogous
#4A53B2 #754AB2 #A94AB2
triadic
#754AB2 #B2754A #4AB275
tetradic
#754AB2 #B24A53 #87B24A #4AB2A9
square
#754AB2 #B24A53 #87B24A #4AB2A9
split-complementary
#754AB2 #B2A94A #53B24A
monochromatic
#3C265C #593887 #754AB2 #9674C5 #B69FD7
Accessibility & contrast
On white
6.22
#754AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#754AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754AB2
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754AB2 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1661B5
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#685F77
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #754ab2; /* rgb */ color: rgb(117, 74, 178); /* oklch */ color: oklch(50.9% 0.160 299.8);
Tailwind
colors: {
custom: {
50: '#a07eca',
500: '#754ab2',
950: '#000000',
},
}SCSS
$custom: #754ab2; $custom-light: #a07eca; $custom-dark: #000000;
JSON
{
"hex": "#754ab2",
"rgb": {
"r": 117,
"g": 74,
"b": 178
},
"hsl": {
"h": 264.808,
"s": 41.27,
"l": 49.412
},
"oklch": {
"l": 0.50885,
"c": 0.15972,
"h": 299.8
},
"luminance": 0.11894
}Semantic roles & 50–950 ramp
primary
#754AB2
secondary
#B0C494
accent
#D1579E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82