#754EBA#754EBA
#754EBA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.164 H 297.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #754EBA |
|---|---|
| RGB | rgb(117, 78, 186) |
| HSL | hsl(262, 44%, 52%) |
| HSV | hsv(262, 58%, 73%) |
| CMYK | cmyk(37.1%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(42.42, 40.12, -51.39) |
| CIE-LCH | lch(42.42, 65.20, 307.98°) |
| OKLab | oklab(52.06% 0.0743 -0.1459) |
| OKLCH | oklch(52.06% 0.164 297) |
| XYZ | xyz(18.9212, 12.7756, 47.9139) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.47
Bluey Purple
#6241C7
ΔE00 5.29
Light Indigo
#6D5ACF
ΔE00 5.34
Slate Blue
#6A5ACD
ΔE00 5.45
Iris
#6258C4
ΔE00 5.49
Deep Lavender
#8D5EB7
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754EBA #93BA4E
analogous
#4E5DBA #754EBA #AB4EBA
triadic
#754EBA #BA754E #4EBA75
tetradic
#754EBA #BA4E5D #93BA4E #4EBAAB
square
#754EBA #BA4E5D #93BA4E #4EBAAB
split-complementary
#754EBA #BAAB4E #5DBA4E
monochromatic
#3E2866 #593992 #754EBA #977ACB #BAA6DC
Accessibility & contrast
On white
5.91
#754EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#754EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754EBA
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754EBA | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1365BE
Deuteranopia (green-blind)
#2663B8
Tritanopia (blue-blind)
#65657C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #754eba; /* rgb */ color: rgb(117, 78, 186); /* oklch */ color: oklch(52.1% 0.164 297.0);
Tailwind
colors: {
custom: {
50: '#a181cf',
500: '#754eba',
950: '#000000',
},
}SCSS
$custom: #754eba; $custom-light: #a181cf; $custom-dark: #000000;
JSON
{
"hex": "#754eba",
"rgb": {
"r": 117,
"g": 78,
"b": 186
},
"hsl": {
"h": 261.667,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.52059,
"c": 0.16375,
"h": 297
},
"luminance": 0.12776
}Semantic roles & 50–950 ramp
primary
#754EBA
secondary
#B8CA9A
accent
#D454A6
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82