#745CD4#745CD4
#745CD4 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.0% C 0.177 H 288.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #745CD4 |
|---|---|
| RGB | rgb(116, 92, 212) |
| HSL | hsl(252, 58%, 60%) |
| HSV | hsv(252, 57%, 83%) |
| CMYK | cmyk(45.3%, 56.6%, 0%, 16.9%) |
| CIE-LAB | lab(47.13, 39.05, -58.84) |
| CIE-LCH | lch(47.13, 70.62, 303.57°) |
| OKLab | oklab(56.04% 0.0563 -0.1678) |
| OKLCH | oklch(56.04% 0.177 288.6) |
| XYZ | xyz(22.9099, 16.1199, 64.1789) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.55
Slate Blue
#6A5ACD
ΔE00 2.13
Dark Periwinkle
#665FD1
ΔE00 2.91
Iris
#6258C4
ΔE00 4.09
Purpley
#8756E4
ΔE00 4.22
Mediumslateblue
#7B68EE
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745CD4 #BCD45C
analogous
#5C80D4 #745CD4 #B05CD4
triadic
#745CD4 #D4745C #5CD474
tetradic
#745CD4 #D45C80 #BCD45C #5CD4B0
square
#745CD4 #D45C80 #BCD45C #5CD4B0
split-complementary
#745CD4 #D4B05C #80D45C
monochromatic
#3B2690 #4F33C0 #745CD4 #9D8CE1 #C7BDEE
Accessibility & contrast
On white
4.97
#745CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#745CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745CD4
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745CD4 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E72D8
Deuteranopia (green-blind)
#126DD1
Tritanopia (blue-blind)
#56778F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #745cd4; /* rgb */ color: rgb(116, 92, 212); /* oklch */ color: oklch(56.0% 0.177 288.6);
Tailwind
colors: {
custom: {
50: '#a28be2',
500: '#745cd4',
950: '#000000',
},
}SCSS
$custom: #745cd4; $custom-light: #a28be2; $custom-dark: #000000;
JSON
{
"hex": "#745cd4",
"rgb": {
"r": 116,
"g": 92,
"b": 212
},
"hsl": {
"h": 252,
"s": 58.252,
"l": 59.608
},
"oklch": {
"l": 0.56044,
"c": 0.17701,
"h": 288.6
},
"luminance": 0.16121
}Semantic roles & 50–950 ramp
primary
#745CD4
secondary
#D4DDAF
accent
#E146C2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83