#745FE8#745FE8
#745FE8 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 58.0% C 0.199 H 285.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #745FE8 |
|---|---|
| RGB | rgb(116, 95, 232) |
| HSL | hsl(249, 75%, 64%) |
| HSV | hsv(249, 59%, 91%) |
| CMYK | cmyk(50%, 59.1%, 0%, 9%) |
| CIE-LAB | lab(49.16, 43.12, -66.91) |
| CIE-LCH | lch(49.16, 79.60, 302.80°) |
| OKLab | oklab(57.97% 0.0527 -0.1915) |
| OKLCH | oklch(57.97% 0.199 285.4) |
| XYZ | xyz(25.8558, 17.7223, 78.3866) |
| Luminance | 0.1772 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.06
Dark Periwinkle
#665FD1
ΔE00 4.09
Light Indigo
#6D5ACF
ΔE00 4.11
Purpley
#8756E4
ΔE00 4.20
Slate Blue
#6A5ACD
ΔE00 4.52
Iris
#6258C4
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745FE8 #D3E85F
analogous
#5F8FE8 #745FE8 #B95FE8
triadic
#745FE8 #E8745F #5FE874
tetradic
#745FE8 #E85F8F #D3E85F #5FE8B9
square
#745FE8 #E85F8F #D3E85F #5FE8B9
split-complementary
#745FE8 #E8B95F #8FE85F
monochromatic
#311AB3 #4629E0 #745FE8 #A295F0 #D1CAF7
Accessibility & contrast
On white
4.62
#745FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#745FE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #745FE8
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745FE8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745FE8 | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#497F9A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #745fe8; /* rgb */ color: rgb(116, 95, 232); /* oklch */ color: oklch(58.0% 0.199 285.4);
Tailwind
colors: {
custom: {
50: '#a48df0',
500: '#745fe8',
950: '#000000',
},
}SCSS
$custom: #745fe8; $custom-light: #a48df0; $custom-dark: #000000;
JSON
{
"hex": "#745fe8",
"rgb": {
"r": 116,
"g": 95,
"b": 232
},
"hsl": {
"h": 249.197,
"s": 74.863,
"l": 64.118
},
"oklch": {
"l": 0.57966,
"c": 0.19865,
"h": 285.4
},
"luminance": 0.17724
}Semantic roles & 50–950 ramp
primary
#745FE8
secondary
#E2E9BA
accent
#D70EB8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85