#745DBB#745DBB
#745DBB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.6% C 0.142 H 292.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #745DBB |
|---|---|
| RGB | rgb(116, 93, 187) |
| HSL | hsl(255, 41%, 55%) |
| HSV | hsv(255, 50%, 73%) |
| CMYK | cmyk(38%, 50.3%, 0%, 26.7%) |
| CIE-LAB | lab(45.81, 31.39, -46.56) |
| CIE-LCH | lch(45.81, 56.15, 303.99°) |
| OKLab | oklab(54.57% 0.054 -0.1317) |
| OKLCH | oklch(54.57% 0.142 292.3) |
| XYZ | xyz(20.0841, 15.1291, 48.8661) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.83
Slate Blue
#6A5ACD
ΔE00 3.88
Iris
#6258C4
ΔE00 4.31
Dark Periwinkle
#665FD1
ΔE00 4.91
Royal Purple
#7851A9
ΔE00 5.11
Deep Lavender
#8D5EB7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745DBB #A4BB5D
analogous
#5D75BB #745DBB #A35DBB
triadic
#745DBB #BB745D #5DBB74
tetradic
#745DBB #BB5D75 #A4BB5D #5DBBA3
square
#745DBB #BB5D75 #A4BB5D #5DBBA3
split-complementary
#745DBB #BBA35D #75BB5D
monochromatic
#3E2F6F #57419A #745DBB #9988CD #BEB3DF
Accessibility & contrast
On white
5.22
#745DBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#745DBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745DBB
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745DBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745DBB | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#627083
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #745dbb; /* rgb */ color: rgb(116, 93, 187); /* oklch */ color: oklch(54.6% 0.142 292.3);
Tailwind
colors: {
custom: {
50: '#a08bd0',
500: '#745dbb',
950: '#000000',
},
}SCSS
$custom: #745dbb; $custom-light: #a08bd0; $custom-dark: #000000;
JSON
{
"hex": "#745dbb",
"rgb": {
"r": 116,
"g": 93,
"b": 187
},
"hsl": {
"h": 254.681,
"s": 40.87,
"l": 54.902
},
"oklch": {
"l": 0.54565,
"c": 0.14236,
"h": 292.3
},
"luminance": 0.1513
}Semantic roles & 50–950 ramp
primary
#745DBB
secondary
#C4CEA6
accent
#D157B3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82