#745BE4#745BE4
#745BE4 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.199 H 286.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #745BE4 |
|---|---|
| RGB | rgb(116, 91, 228) |
| HSL | hsl(251, 72%, 63%) |
| HSV | hsv(251, 60%, 89%) |
| CMYK | cmyk(49.1%, 60.1%, 0%, 10.6%) |
| CIE-LAB | lab(48.00, 44.25, -66.53) |
| CIE-LCH | lch(48.00, 79.90, 303.63°) |
| OKLab | oklab(57.03% 0.057 -0.1904) |
| OKLCH | oklch(57.03% 0.199 286.7) |
| XYZ | xyz(24.9430, 16.7954, 75.3113) |
| Luminance | 0.1680 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.24
Purpley
#8756E4
ΔE00 3.57
Slate Blue
#6A5ACD
ΔE00 3.71
Dark Periwinkle
#665FD1
ΔE00 3.86
Mediumslateblue
#7B68EE
ΔE00 4.34
Iris
#6258C4
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#745BE4 #CBE45B
analogous
#5B86E4 #745BE4 #B95BE4
triadic
#745BE4 #E4745B #5BE474
tetradic
#745BE4 #E45B86 #CBE45B #5BE4B9
square
#745BE4 #E45B86 #CBE45B #5BE4B9
split-complementary
#745BE4 #E4B95B #86E45B
monochromatic
#361CA9 #4726DB #745BE4 #A190ED #CDC4F5
Accessibility & contrast
On white
4.82
#745BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#745BE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #745BE4
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##745BE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##745BE4 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#4C7B97
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #745be4; /* rgb */ color: rgb(116, 91, 228); /* oklch */ color: oklch(57.0% 0.199 286.7);
Tailwind
colors: {
custom: {
50: '#a48aed',
500: '#745be4',
950: '#000000',
},
}SCSS
$custom: #745be4; $custom-light: #a48aed; $custom-dark: #000000;
JSON
{
"hex": "#745be4",
"rgb": {
"r": 116,
"g": 91,
"b": 228
},
"hsl": {
"h": 250.949,
"s": 71.728,
"l": 62.549
},
"oklch": {
"l": 0.5703,
"c": 0.19877,
"h": 286.7
},
"luminance": 0.16797
}Semantic roles & 50–950 ramp
primary
#745BE4
secondary
#DDE6B4
accent
#D412B0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84