#745BCF#745BCF
#745BCF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.5% C 0.172 H 289.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #745BCF |
|---|---|
| RGB | rgb(116, 91, 207) |
| HSL | hsl(253, 55%, 58%) |
| HSV | hsv(253, 56%, 81%) |
| CMYK | cmyk(44%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(46.58, 38.20, -56.87) |
| CIE-LCH | lch(46.58, 68.51, 303.89°) |
| OKLab | oklab(55.53% 0.0575 -0.162) |
| OKLCH | oklch(55.53% 0.172 289.5) |
| XYZ | xyz(22.2029, 15.6994, 60.8798) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.35
Slate Blue
#6A5ACD
ΔE00 1.91
Dark Periwinkle
#665FD1
ΔE00 3.12
Iris
#6258C4
ΔE00 3.71
Purpley
#8756E4
ΔE00 4.53
Mediumslateblue
#7B68EE
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745BCF #B6CF5B
analogous
#5B7CCF #745BCF #AE5BCF
triadic
#745BCF #CF745B #5BCF74
tetradic
#745BCF #CF5B7C #B6CF5B #5BCFAE
square
#745BCF #CF5B7C #B6CF5B #5BCFAE
split-complementary
#745BCF #CFAE5B #7CCF5B
monochromatic
#3C2888 #5236B7 #745BCF #9C8ADD #C4BAEB
Accessibility & contrast
On white
5.07
#745BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#745BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745BCF
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745BCF | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1871D3
Deuteranopia (green-blind)
#1C6CCC
Tritanopia (blue-blind)
#59748C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #745bcf; /* rgb */ color: rgb(116, 91, 207); /* oklch */ color: oklch(55.5% 0.172 289.5);
Tailwind
colors: {
custom: {
50: '#a28ade',
500: '#745bcf',
950: '#000000',
},
}SCSS
$custom: #745bcf; $custom-light: #a28ade; $custom-dark: #000000;
JSON
{
"hex": "#745bcf",
"rgb": {
"r": 116,
"g": 91,
"b": 207
},
"hsl": {
"h": 252.931,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.55531,
"c": 0.17191,
"h": 289.5
},
"luminance": 0.157
}Semantic roles & 50–950 ramp
primary
#745BCF
secondary
#D0DAAC
accent
#DE4ABE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83