#754EBB#754EBB
#754EBB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.165 H 296.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #754EBB |
|---|---|
| RGB | rgb(117, 78, 187) |
| HSL | hsl(261, 44%, 52%) |
| HSV | hsv(261, 58%, 73%) |
| CMYK | cmyk(37.4%, 58.3%, 0%, 26.7%) |
| CIE-LAB | lab(42.49, 40.39, -51.87) |
| CIE-LCH | lch(42.49, 65.75, 307.91°) |
| OKLab | oklab(52.13% 0.0743 -0.1473) |
| OKLCH | oklch(52.13% 0.165 296.8) |
| XYZ | xyz(19.0279, 12.8182, 48.4757) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.63
Bluey Purple
#6241C7
ΔE00 5.21
Light Indigo
#6D5ACF
ΔE00 5.22
Slate Blue
#6A5ACD
ΔE00 5.34
Iris
#6258C4
ΔE00 5.42
Purpley
#8756E4
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754EBB #94BB4E
analogous
#4E5EBB #754EBB #AC4EBB
triadic
#754EBB #BB754E #4EBB75
tetradic
#754EBB #BB4E5E #94BB4E #4EBBAC
square
#754EBB #BB4E5E #94BB4E #4EBBAC
split-complementary
#754EBB #BBAC4E #5EBB4E
monochromatic
#3E2867 #593993 #754EBB #977ACC #BAA6DD
Accessibility & contrast
On white
5.89
#754EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#754EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754EBB
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754EBB | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1165BF
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#64657D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #754ebb; /* rgb */ color: rgb(117, 78, 187); /* oklch */ color: oklch(52.1% 0.165 296.8);
Tailwind
colors: {
custom: {
50: '#a181d0',
500: '#754ebb',
950: '#000000',
},
}SCSS
$custom: #754ebb; $custom-light: #a181d0; $custom-dark: #000000;
JSON
{
"hex": "#754ebb",
"rgb": {
"r": 117,
"g": 78,
"b": 187
},
"hsl": {
"h": 261.468,
"s": 44.49,
"l": 51.961
},
"oklch": {
"l": 0.52128,
"c": 0.16501,
"h": 296.8
},
"luminance": 0.12819
}Semantic roles & 50–950 ramp
primary
#754EBB
secondary
#B9CA9B
accent
#D454A6
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82