#745EB7#745EB7
#745EB7 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.5% C 0.135 H 292.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #745EB7 |
|---|---|
| RGB | rgb(116, 94, 183) |
| HSL | hsl(255, 38%, 54%) |
| HSV | hsv(255, 49%, 72%) |
| CMYK | cmyk(36.6%, 48.6%, 0%, 28.2%) |
| CIE-LAB | lab(45.82, 29.68, -44.21) |
| CIE-LCH | lch(45.82, 53.25, 303.88°) |
| OKLab | oklab(54.5% 0.0523 -0.1248) |
| OKLCH | oklch(54.5% 0.135 292.7) |
| XYZ | xyz(19.7502, 15.1369, 46.6717) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.59
Slate Blue
#6A5ACD
ΔE00 4.60
Iris
#6258C4
ΔE00 4.84
Royal Purple
#7851A9
ΔE00 4.96
Dark Periwinkle
#665FD1
ΔE00 5.49
Deep Lavender
#8D5EB7
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745EB7 #A1B75E
analogous
#5E75B7 #745EB7 #A05EB7
triadic
#745EB7 #B7745E #5EB774
tetradic
#745EB7 #B75E75 #A1B75E #5EB7A0
square
#745EB7 #B75E75 #A1B75E #5EB7A0
split-complementary
#745EB7 #B7A05E #75B75E
monochromatic
#3E306B #574395 #745EB7 #9988CA #BDB3DD
Accessibility & contrast
On white
5.21
#745EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#745EB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745EB7
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745EB7 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#416BB5
Tritanopia (blue-blind)
#636F82
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #745eb7; /* rgb */ color: rgb(116, 94, 183); /* oklch */ color: oklch(54.5% 0.135 292.7);
Tailwind
colors: {
custom: {
50: '#9f8ccd',
500: '#745eb7',
950: '#000000',
},
}SCSS
$custom: #745eb7; $custom-light: #9f8ccd; $custom-dark: #000000;
JSON
{
"hex": "#745eb7",
"rgb": {
"r": 116,
"g": 94,
"b": 183
},
"hsl": {
"h": 254.831,
"s": 38.197,
"l": 54.314
},
"oklch": {
"l": 0.54498,
"c": 0.13536,
"h": 292.7
},
"luminance": 0.15137
}Semantic roles & 50–950 ramp
primary
#745EB7
secondary
#C2CBA6
accent
#CE5AB1
background
#FAF8FC
surface
#F3F0F9
border
#CDCBD2
text
#0F0C13
muted
#7F7D82