#745BBB#745BBB
#745BBB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.2% C 0.145 H 292.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #745BBB |
|---|---|
| RGB | rgb(116, 91, 187) |
| HSL | hsl(256, 41%, 55%) |
| HSV | hsv(256, 51%, 73%) |
| CMYK | cmyk(38%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(45.34, 32.58, -47.31) |
| CIE-LCH | lch(45.34, 57.45, 304.55°) |
| OKLab | oklab(54.21% 0.0566 -0.134) |
| OKLCH | oklch(54.21% 0.145 292.9) |
| XYZ | xyz(19.9108, 14.7826, 48.8084) |
| Luminance | 0.1478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.73
Slate Blue
#6A5ACD
ΔE00 3.80
Iris
#6258C4
ΔE00 4.18
Royal Purple
#7851A9
ΔE00 4.67
Dark Periwinkle
#665FD1
ΔE00 5.05
Deep Lavender
#8D5EB7
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745BBB #A2BB5B
analogous
#5B72BB #745BBB #A45BBB
triadic
#745BBB #BB745B #5BBB74
tetradic
#745BBB #BB5B72 #A2BB5B #5BBBA4
square
#745BBB #BB5B72 #A2BB5B #5BBBA4
split-complementary
#745BBB #BBA45B #72BB5B
monochromatic
#3E2E6E #574099 #745BBB #9986CD #BDB2DF
Accessibility & contrast
On white
5.31
#745BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#745BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745BBB
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745BBB | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346DBE
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#626E82
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #745bbb; /* rgb */ color: rgb(116, 91, 187); /* oklch */ color: oklch(54.2% 0.145 292.9);
Tailwind
colors: {
custom: {
50: '#a08ad0',
500: '#745bbb',
950: '#000000',
},
}SCSS
$custom: #745bbb; $custom-light: #a08ad0; $custom-dark: #000000;
JSON
{
"hex": "#745bbb",
"rgb": {
"r": 116,
"g": 91,
"b": 187
},
"hsl": {
"h": 255.625,
"s": 41.379,
"l": 54.51
},
"oklch": {
"l": 0.5421,
"c": 0.14542,
"h": 292.9
},
"luminance": 0.14783
}Semantic roles & 50–950 ramp
primary
#745BBB
secondary
#C3CDA5
accent
#D157B1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82