#754EBF#754EBF
#754EBF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.170 H 295.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #754EBF |
|---|---|
| RGB | rgb(117, 78, 191) |
| HSL | hsl(261, 47%, 53%) |
| HSV | hsv(261, 59%, 75%) |
| CMYK | cmyk(38.7%, 59.2%, 0%, 25.1%) |
| CIE-LAB | lab(42.75, 41.47, -53.79) |
| CIE-LCH | lch(42.75, 67.91, 307.63°) |
| OKLab | oklab(52.41% 0.0743 -0.1529) |
| OKLCH | oklch(52.41% 0.17 295.9) |
| XYZ | xyz(19.4620, 12.9919, 50.7624) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.24
Light Indigo
#6D5ACF
ΔE00 4.79
Bluey Purple
#6241C7
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 4.94
Iris
#6258C4
ΔE00 5.16
Bluish Purple
#703BE7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754EBF #98BF4E
analogous
#4E5FBF #754EBF #AD4EBF
triadic
#754EBF #BF754E #4EBF75
tetradic
#754EBF #BF4E5F #98BF4E #4EBFAD
square
#754EBF #BF4E5F #98BF4E #4EBFAD
split-complementary
#754EBF #BFAD4E #5FBF4E
monochromatic
#3F276C #593799 #754EBF #987BCF #BBA8E0
Accessibility & contrast
On white
5.84
#754EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#754EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754EBF
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754EBF | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0266C3
Deuteranopia (green-blind)
#1D63BD
Tritanopia (blue-blind)
#63667F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #754ebf; /* rgb */ color: rgb(117, 78, 191); /* oklch */ color: oklch(52.4% 0.170 295.9);
Tailwind
colors: {
custom: {
50: '#a181d3',
500: '#754ebf',
950: '#000000',
},
}SCSS
$custom: #754ebf; $custom-light: #a181d3; $custom-dark: #000000;
JSON
{
"hex": "#754ebf",
"rgb": {
"r": 117,
"g": 78,
"b": 191
},
"hsl": {
"h": 260.708,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.52405,
"c": 0.17001,
"h": 295.9
},
"luminance": 0.12992
}Semantic roles & 50–950 ramp
primary
#754EBF
secondary
#BCCD9C
accent
#D751A9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83