#745AB4#745AB4
#745AB4 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.6% C 0.138 H 294.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #745AB4 |
|---|---|
| RGB | rgb(116, 90, 180) |
| HSL | hsl(257, 38%, 53%) |
| HSV | hsv(257, 50%, 71%) |
| CMYK | cmyk(35.6%, 50%, 0%, 29.4%) |
| CIE-LAB | lab(44.69, 31.25, -44.26) |
| CIE-LCH | lch(44.69, 54.18, 305.22°) |
| OKLab | oklab(53.6% 0.0573 -0.125) |
| OKLCH | oklch(53.6% 0.138 294.6) |
| XYZ | xyz(19.0947, 14.3203, 44.9292) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.66
Light Indigo
#6D5ACF
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 4.94
Iris
#6258C4
ΔE00 4.97
Deep Lavender
#8D5EB7
ΔE00 5.67
Dark Periwinkle
#665FD1
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745AB4 #9AB45A
analogous
#5A6DB4 #745AB4 #A15AB4
triadic
#745AB4 #B4745A #5AB474
tetradic
#745AB4 #B45A6D #9AB45A #5AB4A1
square
#745AB4 #B45A6D #9AB45A #5AB4A1
split-complementary
#745AB4 #B4A15A #6DB45A
monochromatic
#3E2E65 #584190 #745AB4 #9784C7 #BBAEDA
Accessibility & contrast
On white
5.43
#745AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#745AB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745AB4
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745AB4 | 1.00 | 5.43 | 3.86 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396BB7
Deuteranopia (green-blind)
#3E68B2
Tritanopia (blue-blind)
#656C7E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #745ab4; /* rgb */ color: rgb(116, 90, 180); /* oklch */ color: oklch(53.6% 0.138 294.6);
Tailwind
colors: {
custom: {
50: '#9f89cb',
500: '#745ab4',
950: '#000000',
},
}SCSS
$custom: #745ab4; $custom-light: #9f89cb; $custom-dark: #000000;
JSON
{
"hex": "#745ab4",
"rgb": {
"r": 116,
"g": 90,
"b": 180
},
"hsl": {
"h": 257.333,
"s": 37.5,
"l": 52.941
},
"oklch": {
"l": 0.53595,
"c": 0.13752,
"h": 294.6
},
"luminance": 0.14321
}Semantic roles & 50–950 ramp
primary
#745AB4
secondary
#BDC8A1
accent
#CD5AAC
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0B13
muted
#7F7C82