#745FE7#745FE7
#745FE7 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.9% C 0.197 H 285.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #745FE7 |
|---|---|
| RGB | rgb(116, 95, 231) |
| HSL | hsl(249, 74%, 64%) |
| HSV | hsv(249, 59%, 91%) |
| CMYK | cmyk(49.8%, 58.9%, 0%, 9.4%) |
| CIE-LAB | lab(49.09, 42.83, -66.46) |
| CIE-LCH | lch(49.09, 79.06, 302.80°) |
| OKLab | oklab(57.89% 0.0527 -0.1902) |
| OKLCH | oklch(57.89% 0.197 285.5) |
| XYZ | xyz(25.7142, 17.6657, 77.6407) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.12
Light Indigo
#6D5ACF
ΔE00 3.98
Dark Periwinkle
#665FD1
ΔE00 3.98
Purpley
#8756E4
ΔE00 4.17
Slate Blue
#6A5ACD
ΔE00 4.40
Iris
#6258C4
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745FE7 #D2E75F
analogous
#5F8EE7 #745FE7 #B85FE7
triadic
#745FE7 #E7745F #5FE774
tetradic
#745FE7 #E75F8E #D2E75F #5FE7B8
square
#745FE7 #E75F8E #D2E75F #5FE7B8
split-complementary
#745FE7 #E7B85F #8EE75F
monochromatic
#321BB1 #462ADF #745FE7 #A294EF #D0C9F7
Accessibility & contrast
On white
4.63
#745FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#745FE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #745FE7
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745FE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745FE7 | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#4A7F9A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #745fe7; /* rgb */ color: rgb(116, 95, 231); /* oklch */ color: oklch(57.9% 0.197 285.5);
Tailwind
colors: {
custom: {
50: '#a48def',
500: '#745fe7',
950: '#000000',
},
}SCSS
$custom: #745fe7; $custom-light: #a48def; $custom-dark: #000000;
JSON
{
"hex": "#745fe7",
"rgb": {
"r": 116,
"g": 95,
"b": 231
},
"hsl": {
"h": 249.265,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.57893,
"c": 0.19738,
"h": 285.5
},
"luminance": 0.17667
}Semantic roles & 50–950 ramp
primary
#745FE7
secondary
#E1E9B9
accent
#D60FB7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85